I have a problem with a Kinetis microcontroller KL25Z128VLK4 with mask 2N97F.
On CodeWarrior 10.3 and Processor Expert, I developed an application using USART1 on pin 58 ( PTC3/LLWU_P7/UART1_RX/TPM0_
Solved! Go to Solution.
I suggest you check the actual baud on the wires with a logic analyzer.
It could be that the clock distribution bits are not properly set.
See
Hello,
Sometimes there are bugs on PE components. I believe it happens because the component creators do not test all possible parameter combinations, which would be too difficult to do.
When I have doubts about a PE component, I create a function to initialize the peripheral with the parameters I want, and then basic functions for making tests. I write them in C, in a project without PE, so I have all definitions for the mnemonics of all registers.
For an UART, the functions should be easy to write. I think it is worth a try. Also, I believe that Erich's idea is worth a try.
Cheers,
Antonio
I suggest you check the actual baud on the wires with a logic analyzer.
It could be that the clock distribution bits are not properly set.
See
Thank you Erich.
I configured the UART1 baudrate to 19200bps as you suggest and it works sucessful.
Now I'll download the CodeWarrior 10.5 as you and Robin_Shen suggest.
Thanks.
Hi Ruben Dario Villafuerte Arroyo
I wonder if this is related to the a bug in CodeWarrior10.3 with PE.
The below information can be found in the Release_Notes of CodeWarrior10.4. It is in the folder like: E:\Program Files\CW MCU v10.4\MCU\Release_Notes.pdf
ENGR00239108: Updated Processor Expert serial_LDD component for KL25Z128 to generate correct baud rate code for Uart1.
Hope that help
Best Regards
Robin