I try to send characters form the KL25Z board to my computer with UART0 . I already achieved this task in a baremetal project but now I would like to use PE and I'm a very beginner with PE.
So what I did :
First : Added Serial_LDD component in my KDS project and configure setting like this :
Then I write the code :
This is main.c with initialisation of UART0 and Timer 1
In Event.h, I set some declaration :
Finally, I send character 'A' when Timer 1 interrupt occur (every 500ms). I also blink the blue LED.
The problems come when I start debugging. First, character are not received from KL board when I call UART0_SendBlock method.
And second, the programme seem to be stuck when I call UART0_CancelBlockTransmission method. The code stuck at PE_DEBUGHALT() :
I don't know what to do... I need your help pleas