BUG: ECIO40P8 ChangeHWBaud stops RXINT0 from working
Posted: Mon Jan 21, 2019 10:10 am
RX interrupt works well until ChangeHWBaud is used.
After that RX stops working.
Attached is a simple demo.
Baud is 9600
5 x 'U' are sent to test TX side.
Set Terminal setting to echo chars.
Press a key on the keyboard (Except c) then chars should all be echoed to show RX int working.
Press c to make baud to change to 4800 then straight back to 9600.
Again 5 x 'U' are sent to test TX side.
Chars are no longer echoed.
As I'm changing name and pin codes in both HC05 and HC06 within same project.
It's vital that RXint works after ChangeHWBaud is used, since baud for HC05 must be at 38400 in AT mode.
After that RX stops working.
Attached is a simple demo.
Baud is 9600
5 x 'U' are sent to test TX side.
Set Terminal setting to echo chars.
Press a key on the keyboard (Except c) then chars should all be echoed to show RX int working.
Press c to make baud to change to 4800 then straight back to 9600.
Again 5 x 'U' are sent to test TX side.
Chars are no longer echoed.
As I'm changing name and pin codes in both HC05 and HC06 within same project.
It's vital that RXint works after ChangeHWBaud is used, since baud for HC05 must be at 38400 in AT mode.