Skip to main content
Visitor II
December 19, 2023
Question

STM32 GPIO SINK SOURCE CURRENTS

  • December 19, 2023
  • 3 replies
  • 2501 views

USING MCU - STM32H743XIH6
As per datasheet "STM32H743XIH6_Datasheet" page 139 it is mentioned that GPIO can sink/source 8 or 20 mA.

Ab1_0-1702972191661.png
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.

Ab1_1-1702973390851.png

 



 

    This topic has been closed for replies.

    3 replies

    Super User
    December 19, 2023

    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.

    Graduate II
    December 19, 2023

    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.

    Ab1Author
    Visitor II
    January 15, 2024

    Thanks for quick response. understood point i.e.  Current is determined by the load, not the MCU.

    Ab1Author
    Visitor II
    January 15, 2024

    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:

     

    Ab1_3-1705299477077.png

    ADC CLOCK, CONFIGS AND DMA SETTINGS AS FOLLOWS:

    Ab1_0-1705299278242.png

     

    Ab1_1-1705299373441.png

     

    Ab1_2-1705299413950.png

     

    Tried example code also from STM32H7cubmx package (1.11.0), same result? anything missing from above configuration?