Hi everybody,
For exemple, I have a 18F6622 with two hard UART. I have two other cards who send 10 bytes at 19200 bauds and I would like to receive it. The problem is that the two emitters can send data at the same time and I have to receive all bytes without lost.
Is it possible with Flowcode ? I have a modded custom code who works with the second UART but as the PICmicro executes instructions one by one, I don't know if it's possible.
If it is, How ?
Thank you so much.
How to receive data on two UART at the same time ?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to receive data on two UART at the same time ?
Hello
Yes it should be possible though the outgoing signals may be slightly out of time with each other. The serial hardware allows for the send or receive commands to operate while you are processing other parts of your program. Also the receive hardware has three buffers that allow data to be temporarily stored so you do not miss any information. Flowcode V4 wil nativly support multi hardware serial UARTs as well as bit banged UARTs.
Yes it should be possible though the outgoing signals may be slightly out of time with each other. The serial hardware allows for the send or receive commands to operate while you are processing other parts of your program. Also the receive hardware has three buffers that allow data to be temporarily stored so you do not miss any information. Flowcode V4 wil nativly support multi hardware serial UARTs as well as bit banged UARTs.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel