hi all, i would like to know whether it is possible to change the baudrate of the serial port to different rates, i have a program which have to communicate with different devices with different baudrates. I try to change the BRGR0 and BRGR1 values but when that part of the code is executed in the simulator, the values do not change to another baudrate different from the default value(115200). Is the code executed not working on simulation or do i have to reset a Register to trigger that UART must be restarted. Any help is appreciated. Many thanks, khaled Sarsam
Do you clear the BRGGEN bit in the BRGCON sfr before you reset the divisor and set it again after?