zhi_yi
Full Member level 4
interrupt atmega8535
hi, please help me how to interface to serial interrupt in ATMEGA8535, i got difficulty in how to set the baudrate of asynchronous tranmission mode. I read from its datasheet that UBRR (12 bit) contain of UBRRH (4 bit) and UBRRL (8 bit). and I use ICC AVR's application builder to build the program, and it said that the UBRR should be "25" if I want the baudrate to be 9600, what does "25" means? how to assign it into UBRRH and UBRRL? and I want to use the serial in interrupt mode, are there any program examples? Thanks a lot for your time.
hi, please help me how to interface to serial interrupt in ATMEGA8535, i got difficulty in how to set the baudrate of asynchronous tranmission mode. I read from its datasheet that UBRR (12 bit) contain of UBRRH (4 bit) and UBRRL (8 bit). and I use ICC AVR's application builder to build the program, and it said that the UBRR should be "25" if I want the baudrate to be 9600, what does "25" means? how to assign it into UBRRH and UBRRL? and I want to use the serial in interrupt mode, are there any program examples? Thanks a lot for your time.