BUG: ECIO40P8 ChangeHWBaud stops RXINT0 from working

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

BUG: ECIO40P8 ChangeHWBaud stops RXINT0 from working

Post by medelec35 »

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.
Attachments
ECIO40P8 UART RX INT Test.fcfx
(12.24 KiB) Downloaded 189 times
Martin

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: BUG: ECIO40P8 ChangeHWBaud stops RXINT0 from working

Post by Benj »

Hi Martin,

Thanks for letting us know.

Hopefully I have now fixed this for you. The latest CAL UART file is now available via the update system.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: BUG: ECIO40P8 ChangeHWBaud stops RXINT0 from working

Post by medelec35 »

Hi Ben,
No problem.
Benj wrote:Hopefully I have now fixed this for you
Yes you have, working perfect.
Thank you. :)
Martin

Post Reply