Hi Giovanni.
I'm trying to connect PC and STM32F103 using chibios v2.6.5. To communicate using RC422 (full duplex). Packages can go with a request from the PC and from the STM without a request from the PC. I use UART driver. I have a problem. The less time requests from the PC the more timeouts occur. It seems there is an imposing reception and transmission, what to do?
Thanks for the help!
P.s.
Still, the data drive in binary form. The fact that the message was received is determined by the timeout, which will restart for the adoption of each byte (as in modbus rtu).
UART driver
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: UART driver
Hi,
Could explain it in more details? I don't understand the issue at hand. Do you have a state machine of the protocol you are implementing? that would make things more clear.
Giovanni
Could explain it in more details? I don't understand the issue at hand. Do you have a state machine of the protocol you are implementing? that would make things more clear.
Giovanni