8
votes
UART as RS485 with Linux
It's not "your job" to handle the line driver's "transmit enable" signal, that's for the driver and peripheral to deal with - hopefully even in hardware (i.e: driver configures ...
6
votes
UART as RS485 with Linux
The USART hardware of that STM32 supports Driver Enable (DE)- automating the switching at the correct instant for half-duplex RS485, complete with being able to fine tune the timing to accomodate time ...
5
votes
UART as RS485 with Linux
From what I could find in the Linux kernel drivers source, there is RS485 support for the ST uarts. See drivers/tty/serial/stm-usart.c
To configure the device, search for termios RS485. That should ...
2
votes
Accepted
Why does the USART count in STM32 MCU differ between datasheet and IDE?
Refer to the table on page 12 of the datasheet.
The STM32F303Kx only has 2 USARTs, while the 303Cx and 303Rx have 3.
Also, the text at the top of page 2 reads:
Up to 3 USARTs.
in typical marketing-...
1
vote
Why are pull-up resistors provided on the UART lines of the AM62L EVM?
There are many reasons.
One most important reason is that digital inputs must never be left floating, and if there are no built-in pull resistors then external resistors are needed.
The UART lines go ...
1
vote
STM32 F302R8 UART RX reception error
Your IRQ handler for UART3 tries to handle UART1. Please check your code for errors.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
uart × 1719stm32 × 308
serial × 305
microcontroller × 280
pic × 176
usb × 151
c × 118
avr × 108
arduino × 102
rs232 × 98
interrupts × 86
atmega × 80
embedded × 76
communication × 72
rs485 × 72
ftdi × 63
spi × 55
baudrate × 47
i2c × 46
bluetooth × 41
ttl × 41
esp32 × 40
microchip × 40
dma × 40
fpga × 36