Pin Mapping on L4R5ZI #1636
Pin Mapping on L4R5ZI
#1636
-
Beta Was this translation helpful? Give feedback.
Answered by
fpistm
Jan 27, 2022
Replies: 1 comment 1 reply
-
|
Hi @MasteringTheMess You use it like this for the NUCLEO_L4R5ZI: then the core will search in the In our case |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PerennialNovice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @MasteringTheMess
There is no link between
PIN_Axand theADCxperipheral and channel.PIN_Axmeans the pin is defined to be the analog pin numberAxin Arduino naming.You use it like this for the NUCLEO_L4R5ZI:
analogRead(A0);oranalogRead(PA3);oranalogRead(0);oranalogRead(D107);then the core will search in the
PinMap_ADCarray of the PeripheralPins.c which peripheral have to be usedArduino_Core_STM32/variants/STM32L4xx/L4R5Z(G-I)T_L4R7ZIT_L4S5ZIT_L4S7ZIT/PeripheralPins.c
Lines 36 to 54 in b8756be