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.
BUG: ECIO40P8 ChangeHWBaud stops RXINT0 from working
Moderator: Benj
-
- 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
- Attachments
-
- ECIO40P8 UART RX INT Test.fcfx
- (12.24 KiB) Downloaded 193 times
Martin
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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
Hi Ben,
No problem.
Thank you.
No problem.
Yes you have, working perfect.Benj wrote:Hopefully I have now fixed this for you
Thank you.
Martin