Hello !
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 :smileyhappy:
Solved! Go to Solution.
Hi,
In the KDS install folder you can fin the Component User Guide for the Processor Expert components. In those guides you can find the complete information for all the methods and a typical usage example that will help you to understand how to use the methods of the component.
The Component user guides are in : <install_folder>\KDS_2.0.0\eclipse\ProcessorExpert\Help\ComponentUserGuides. Attached you can find the guider for the Serial_LDD component.
Hope this information can help you
Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
In the KDS install folder you can fin the Component User Guide for the Processor Expert components. In those guides you can find the complete information for all the methods and a typical usage example that will help you to understand how to use the methods of the component.
The Component user guides are in : <install_folder>\KDS_2.0.0\eclipse\ProcessorExpert\Help\ComponentUserGuides. Attached you can find the guider for the Serial_LDD component.
Hope this information can help you
Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Great document. It's work now. Thank you ! :smileyhappy: