Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/19/06 01:13
Read: times


 
#116589 - Reinitializing baudrate.
Responding to: ???'s previous message
Thanks for your reply.
I removed the baudrate generator setting update code in the interrupt routine and everything works fine. So something goes wrong when I update the baudrate. This is the code in the interrupt routine to update the baudrate:
	BRGCON = 0x00;
  	BRGR0 = 0x20;
    	BRGR1 = 0x00;
	BRGCON = 0x03;

I have to update the baudrate in the interrupt routine. What's wrong with this code?

Regards,
Mark

List of 6 messages in thread
TopicAuthorDate
Problem with RTC-ISR & UART            01/01/70 00:00      
   register bank            01/01/70 00:00      
      Reinitializing baudrate.            01/01/70 00:00      
         have you compared to CodeArchitect?            01/01/70 00:00      
         Why change the baudrate?            01/01/70 00:00      
            Normal operation/Bootloader            01/01/70 00:00      

Back to Subject List