CAL UART comms stops if the baud rate is updated

An area to discuss 32-bit PIC specific problems and examples

Moderator: Benj

Post Reply
Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Contact:

CAL UART comms stops if the baud rate is updated

Post by Zane »

Hi Ben,

I am using a 32MX270F256B and when using the CAL UART, if the baud rate is updated the comms will stop. If the update baud icon is disabled the comms works fine. I have attached the test program that i have been using.

I have also installed the patches you have created that takes care of all the timing and peripheral issues too.

Thanks

Zane
Attachments
Flowcode1.fcfx
(10.52 KiB) Downloaded 102 times

User avatar
LeighM
Matrix Staff
Posts: 2043
Joined: Tue Jan 17, 2012 10:07 am
Contact:

Re: CAL UART comms stops if the baud rate is updated

Post by LeighM »

Hi Zane,
Could you please try the attached CAL file?
Thanks
Leigh
PIC32BIT_CAL_UART.c
(22.18 KiB) Downloaded 115 times

Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Contact:

Re: CAL UART comms stops if the baud rate is updated

Post by Zane »

Hi Leigh,

I have tried this but it has not been successful.

Thanks Zane

User avatar
LeighM
Matrix Staff
Posts: 2043
Joined: Tue Jan 17, 2012 10:07 am
Contact:

Re: CAL UART comms stops if the baud rate is updated

Post by LeighM »

OK. Thanks for testing. I'll stick this PIC32 issue on Ben's pile :)

User avatar
Benj
Matrix Staff
Posts: 14843
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: CAL UART comms stops if the baud rate is updated

Post by Benj »

Thanks for letting us know of the problem.

I have replicated it and have found a fix.

Simply copy the attached file into your "Flowcode 7/CAL/PIC32BIT" folder and the problem should be resolved.
PIC32BIT_CAL_UART.c
(22.11 KiB) Downloaded 113 times
Let us know how you get on.

Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Contact:

Re: CAL UART comms stops if the baud rate is updated

Post by Zane »

Hi Ben,

Thanks for the update i will try it later on this week.

Thanks

Zane

Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Contact:

Re: CAL UART comms stops if the baud rate is updated

Post by Zane »

Thanks Ben, your magic worked a treat, it is functioning as expected now :D

Post Reply