2023-12-27 07:33 AM
Hi all, im using STM37H74x evaluation board and i managed to get most of it working (PWM, DAC etc..)
but when i try using the ADC i get strange input, putting the configuration aside, this is what my main looks like below.
im using ADC1 ch6, according to the reference manual in order to use this output i had to change SB
so that SB37 is on and SB38 is off , if i did understand that correctly.
my output did not seem to mind the pin input and just constantly showed a random value that was between 8000 and 11000
note that the ADC is 16bit. and that i have tried the same method on differently channels and ADCs on the MCU.
What am i missing?
this is my main:
2023-12-27 09:22 AM
> STM37H74x evaluation board
You could be a little more precise, as there are multiple that fit this description. Well, technically none fit this description, but several fit STM32H74x.
Download the schematic for your board and ensure the pin that CubeMX is using for the ADC channel is connected to the header where you are applying the voltage.
2023-12-28 01:24 AM
Hi Thanks for taking the time to respond,
the board im reffering to is "NUCLEO-H743ZI2"
i did just realize there was a conflict between documentations in the pinout which explained why i couldn't get it to work.
maybe you can shed some light on this matter,
on the schematic "PF12" is connected to CN10 Pin7
on the Nucleo pinout doc "PF12" is connected to CN7 pin20
which is not making me need to recheck my entire layout.
Thanks! :)
2023-12-28 02:31 AM
Hi,
ADC1 in6 is on pin PF12 , H743Z/144pin .
MB1364 has (when sb37 closed, 38 open) it on CN10, pin7 .
-> check, what MBxxx version you have ! and whats MBxxx from the other picture -- where you found this ?
2023-12-28 03:57 AM
it appears i was looking at the ZI documentation which is Obsolette
instead of the ZI2 documentations...
thanks everyone :)