Alloy
Advanced Member level 4
Hey
I don't know if this question should be in-general related to UART, or if it should be PIC18-specific, but....
I am making a simple system which will require a reliable UART communication. I mean, one PIC will be sending UART commands to second PIC. The UART will not be busy all the time, but it will have to transfer very important information.
Each data will be formed into a packet, no more that 32 bytes or so.
I can't lose any of the UART packets, because the next packet will be dependent on the previous one.
My question is: can I rely on UART as-is (I am using mikroC for PIC), or do I have to add some kind of "resend if packet missing" mechanism?
Is there any good alternative for the UART in this purpose? Maybe some other PIC18 peripheral will do better?
Thanks in advance!
I don't know if this question should be in-general related to UART, or if it should be PIC18-specific, but....
I am making a simple system which will require a reliable UART communication. I mean, one PIC will be sending UART commands to second PIC. The UART will not be busy all the time, but it will have to transfer very important information.
Each data will be formed into a packet, no more that 32 bytes or so.
I can't lose any of the UART packets, because the next packet will be dependent on the previous one.
My question is: can I rely on UART as-is (I am using mikroC for PIC), or do I have to add some kind of "resend if packet missing" mechanism?
Is there any good alternative for the UART in this purpose? Maybe some other PIC18 peripheral will do better?
Thanks in advance!