Quote:
I have a terminal equipment (8052 based) it send and receive data at 19200bps I use serout/in comand to conect this terminal,
at the other end I have a radio-modem conected to the usart at 9600bps of port of a pic16f877 the terminal has a ascii keyboard and the idea is get data from the terminal and respond to her for displaying that key , but at same time (well no really) I have to check the radio-modem if there is data available, I no want loss a packet data of this modem there is no way to recovery the data since that only is send from a central to radio-modem ONCE, that is the problem thanks again.
Safe way for the MODEM : using another PIC(let's say PIC16F628) who will only monitor him and store everything in internal or external EEPROM. Once it's done, it will check if the other PIC is available for receiving. In case yes, send data from the last MODEM communication and monitor any other MODEM communication by internal USART interrupt.