Printf garbage characters at 24Mhz

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnWa_1259496
Level 4
Level 4
Welcome! 50 replies posted 25 replies posted

I am using the Debug Printf UART functionality on a BLE Pioneer board.

   

This works properly if SYSCLK is set to 48Mhz. If its set to 24Mhz many of the displayed characters are garbage.

   

Has anyone else noticed this?

0 Likes
2 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Sounds like baud rate changed ? Would a clean and build recalculate

   

the divisors ? Not sure.

   

 

   

Can you see bit timing changed with a scope ?

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I would suggest to check the clock accuracy in the clock view of the .cydwr-file. This may show different values for different system clock settings.

   

 

   

Bob

0 Likes