cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F723 USART TX and RTS drive capability

Bags
Associate III

 

Couldn't see a definitive answer in the datasheet - What is the source \ sink capability of a USART TX \ RTS pin?

The nearest answer I could find was page 128 of DS13313 Rev 5 -

"GPIOs (general purpose input/outputs) can sink or source up to ±8 mA, and sink or source up to ±20 mA"

but there isn't anything specifically that mentions alternate function pin capability.

Can TX and RTS pins directly source or sink an LED via a 220 Ohm resistor (that would be ~15mA each) ?

I'm thinking I may have to add external drives like high side MOSFETs otherwise.

Thanks.

12 REPLIES 12

Sorry, 180mA was my estimated max for the entire PCB with a little bit of added margin, but I can crank down the 6 LEDs a bit (they are Optos) before edges become an issue.

I forgot to check the total current sunk for the alternative H723 MCU - luckily its 20mA higher than a F723 and not less.

I'll breadboard an Opto to a UART TX\RTS to verify that area before I finalize the PCB.

gbm
Principal

Do you realize that any modern LED supplied with 15 mA current would make you room very bright? For modern LEDs used as status lights, the typical reasonable current is 0.5..3 mA. In most of my boards I use 1k5 or 2k2 series resistors for driving LEDs.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
Bags
Associate III

Optos don't light up rooms unless you made a serious wiring mistake.

15mA is the upper limit but I probably can crank it down to 10mA without impacting max baud rate...

Opto Propagation Delays.png