Skip to main content

All Questions

Tagged with
0 votes
2 answers
532 views

STM32 Nucleo RS-485 connection

I want to communicate device with RS-485 bus with STM32 Nucleo-F767ZI. I have an RS-232 to RS-485 converter powered with 12V and connected to device A, B. Will it work if I connect RS-232 side TX RX ...
username3211's user avatar
0 votes
2 answers
507 views

Calculate RS422 signal to travel time from one side to another

I want to calculate the time take to transfer command from one uC side to another, this is the architecture: the Baudrate is 115200, the number of bits is 8. I would like to hear explain not just an ...
Knowledge's user avatar
  • 443
2 votes
0 answers
221 views

Which instructions do I use to be able to use UART directly on my STM32F107 microcontroller?

I've tried to figure this out on my own but after almost a week I'm still at more or less the same place where I started. So, I have an STM32F107 microcontroller on a board, which is linked to another ...
DexTr's user avatar
  • 31
3 votes
3 answers
2k views

Good idea to use UART in half-duplex mode when using RS485 transceiver?

Most 2-wire RS485 implementations I have seen use both UART RX and TX pins which works of course. And I have done so. But I was wondering whether using UART in half-duplex mode is a good alternative ...
JeromeBu1982's user avatar
0 votes
0 answers
501 views

UART Blocking Mode and Non-Blocking Mode

I want to using RS485 communication between two or more device using stm32 + tranceivers, I need to request-response type communication so RS485 bus will have many data. Which one would make sense to ...
gogogo's user avatar
  • 279
-1 votes
1 answer
578 views

RS485 receiving data corruption

This was my first topic, RS485 Tutorial Issue. I referenced because of the schematics. I solved the problem in above topic, I forgot to pin settings for DE and RE pins. I have a different problem now. ...
gogogo's user avatar
  • 279
0 votes
1 answer
2k views

RS485 Tutorial Issue

I have two device ( ISL83485 + STM32), and they connected on RS485 line. I want to send some UART signal to RS485 line with a tranceiver. I am using ISL83485 tranceiver for this purpose, I am using ...
gogogo's user avatar
  • 279
3 votes
2 answers
932 views

Wrong output using SN75HVD10 (RS485)

Designing a modbus master using a STM32F030CCT6 and a SN75HVD10 (3.3V). This is the schematic When i send the following message from the UART: 01 03 00 00 00 06 c5 c8 I see the following scopes (...
Lars Stenberg's user avatar
1 vote
1 answer
2k views

Isolated Modbus (RS485) ground and UART noise

I build an isolated RS485 (Modbus) interface board for a sensor. I use ADM2682 as transceiver and VAQE6W-Q24-S12-D as isolated DC-DC converter. All is managed my a STM32L412. There is 2 interesting ...
rom1nux's user avatar
  • 498
2 votes
1 answer
6k views

RS-485 using USART or UART port on STM32

On STM32F405 MCUs there are USART ports as well as UART ports available. If I need to implement RS-485 communication then which one of these should be used, USART or UART? Or are both of them equally ...
scico111's user avatar
  • 907
0 votes
2 answers
1k views

RS485 vs RS232 similarity vs differences

I have used UART RS232 communication between MCUs extensively. Now I need to interface my STM32F407 MCU over RS485 bus with with devices. I have understood few things about RS485 but not-clear about ...
scico111's user avatar
  • 907
4 votes
2 answers
11k views

RS485 without flow control

Is it possible to send/recieve on RS485 without flow control. I am working on stm32f4 platform with a MAX3160 multiprotocol transceiver(supports RS232 and RS485). The UART lines form STM32F4 are ...
Sumanth V's user avatar
0 votes
1 answer
11k views

How to know UART DMA TX is finished for RS485 enable process in STM32F4 CubeMX

I am using STM32F4 series MCU with STM32CubeMX enviroment. I can send and receive data without problem in RS232 physical layer. My problem is that when I use with it in RS-485 physical layer, I ...
dredg's user avatar
  • 55
1 vote
2 answers
15k views

STM32 RS485 connection

I want to interface stm32f0 with rs422 (half duplex and full duplex). What I'm not getting how to connect RE and DE signals to rs 232. From UART I'll be having RX, TX, VCC and GND pins which i need to ...
MustakMu's user avatar