kikirojas
Newbie level 2
usart recieve
Dear sirs:
I need to build a system with two usarts with pic in C languaje . A hardware usart (xmit=PIN_B2, rcv=PIN_B1) and the other software usart. But I have a lot of doubts about the theory about "two usarts" . I would like help about it . When a how to use "INT_RDA" "INT_TBE" "kbhit" " need I implement a buffer for incoming data in usart by soft ?" " and in usart by hardware ?" "Need I use the INT_EXT for usart by software ?"
Is there any flow chart about two usarts work to understant better the problem ?
My system must be receive by hardware usart a gps signal ( 4800 bauds ) , and in a software usart receive and transmit data to 19200 bauds.
Is possible to implement this system with a pic 16f628A with a 20 Mhz crystal.
thank you in advance
Dear sirs:
I need to build a system with two usarts with pic in C languaje . A hardware usart (xmit=PIN_B2, rcv=PIN_B1) and the other software usart. But I have a lot of doubts about the theory about "two usarts" . I would like help about it . When a how to use "INT_RDA" "INT_TBE" "kbhit" " need I implement a buffer for incoming data in usart by soft ?" " and in usart by hardware ?" "Need I use the INT_EXT for usart by software ?"
Is there any flow chart about two usarts work to understant better the problem ?
My system must be receive by hardware usart a gps signal ( 4800 bauds ) , and in a software usart receive and transmit data to 19200 bauds.
Is possible to implement this system with a pic 16f628A with a 20 Mhz crystal.
thank you in advance