UART driver

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
DGW
Posts: 47
Joined: Fri May 30, 2014 9:14 am

UART driver

Post by DGW »

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).
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: UART driver

Post by Giovanni »

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
Post Reply