fbestepe
- 30th November 2004, 17:41
Hi Everyone,
I asked a question about MCLR reset before, now I would like to ask how to reset USART module? The problem is not changed, it is the same before, but I understood that my problem is related with USART module. The infrastructure is like that, I am connecting to 16F877 using hyper terminal with dial up connection over 2 external modems. The connection between remote modem and 16F877 is fullfiled via USART. The problem is that, after the dial up connection is established, the device (16F877) is needed to be MCLR reset in order to receive and/or transmit characters properly. (That is, Hserout/Hserin does not work until MCLR)
Interestingly, if the connection between remote modem and 16F877 is fullfiled over PortB.0, PortB.1 with inverted logic, everything is OK, there is no need any reset. (Serin2/Serout2 works perfect.)
I have to use USART module for this connection and I need your help very much. In my opinion, if I can only reset USART module, I will be able to solve this problem.
I am waiting for your recommendations.
Thanks and Regards,
Firat
I asked a question about MCLR reset before, now I would like to ask how to reset USART module? The problem is not changed, it is the same before, but I understood that my problem is related with USART module. The infrastructure is like that, I am connecting to 16F877 using hyper terminal with dial up connection over 2 external modems. The connection between remote modem and 16F877 is fullfiled via USART. The problem is that, after the dial up connection is established, the device (16F877) is needed to be MCLR reset in order to receive and/or transmit characters properly. (That is, Hserout/Hserin does not work until MCLR)
Interestingly, if the connection between remote modem and 16F877 is fullfiled over PortB.0, PortB.1 with inverted logic, everything is OK, there is no need any reset. (Serin2/Serout2 works perfect.)
I have to use USART module for this connection and I need your help very much. In my opinion, if I can only reset USART module, I will be able to solve this problem.
I am waiting for your recommendations.
Thanks and Regards,
Firat