2020-08-05 12:06 AM
Solved! Go to Solution.
2020-08-05 12:21 AM
Most (all?) STM32 controllers have USART peripherals on-chip which can transmit+receive RS232 + RS485 signals at the 3.3V logic level including optional flow-control. But the original RS232 + RS485 specs also include the electrical level using special voltage ranges. To implement that, you need to attach external RS232 resp. RS 485 transceivers chips. Sometimes people say RS232 but only mean serial port / UART interface. So you must check what you want to connect on the other side of the serial interfaces.
2020-08-05 12:21 AM
Most (all?) STM32 controllers have USART peripherals on-chip which can transmit+receive RS232 + RS485 signals at the 3.3V logic level including optional flow-control. But the original RS232 + RS485 specs also include the electrical level using special voltage ranges. To implement that, you need to attach external RS232 resp. RS 485 transceivers chips. Sometimes people say RS232 but only mean serial port / UART interface. So you must check what you want to connect on the other side of the serial interfaces.
2020-08-05 12:34 AM
Hi KnarfB,
Thank you for your fast response.
So I can connect the the external transceiver chips for RS-485? I need to conform that STM support the RS-485 Communication with full duplex.
Can you suggest any STM controller for that purpose?
2020-08-05 12:35 AM
For MCU the RS-485 is basically UART with RX, TX and (for half-duplex) RTS/DE pins enabled. All or almost all STM32 MCUs can do that.
2020-08-05 12:45 AM
Please use the STM32CubeMX tool or the online STM32 product selector. There are so many variables to consider (MCU performance, low-power, package). For prototyping you can use any cheap Nulceo board like NUCLEO-L432KC.
2020-08-05 01:46 AM
Hi KnarfB,
Thank you for your response.
2020-08-05 01:48 AM
Hi Piranha,
Thank you for your response. Is 10Mb/s speed needed for RS-485?
2020-08-05 02:17 AM
How do I know what speed do you need? So you are making RS-485, but you are to lazy to read even the basic info about it?
2024-05-07 12:08 AM
Hi, I am trying to connect one energy meter sensor which has RS485 output, But i am unable to read RS485 sensor readings in Nucleo F401RE, If you have any examples please help out!!