2023-12-19 12:32 AM
USING MCU - STM32H743XIH6
As per datasheet "STM32H743XIH6_Datasheet" page 139 it is mentioned that GPIO can sink/source 8 or 20 mA.
When MCU will be going to source 8 mA and when it will source 20 mA?
Is there any current control configuration inside MCU?
And what amount of current Particular I/O will source, if configured as output push pull with no pullup/pulldown and driving low as follows.
2023-12-19 06:14 AM
There's no explicit current control, just an internal limit. The chip provides a voltage and the circuit determines the current. It's not a binary system--the more current you take, the lower the voltage will drop from the rail.
2023-12-19 06:18 AM
Current is determined by the load, not the MCU.
The levels will change based on the ability of the transistors to conduct to the rails.
2024-01-14 09:42 PM
Thanks for quick response. understood point i.e. Current is determined by the load, not the MCU.
2024-01-14 10:20 PM
Query: Using STM32H743XI EVAL BOARD, ERROR IN READING 2 ADC1 CHANNEL (PA0_C, PA1_C) IN DMA CIRCULAR MODE -
1ST CHANNEL GIVING ACCURATE COUNTS,
2ND CHANNEL SET AT 2V - ALWAYS VARIES ACCORDINGLY 1ST CHANNEL WHERE POT IS CONNECTED?
ADC CLOCK, CONFIGS AND DMA SETTINGS AS FOLLOWS:
ADC CLOCK, CONFIGS AND DMA SETTINGS AS FOLLOWS:
Tried example code also from STM32H7cubmx package (1.11.0), same result? anything missing from above configuration?