Hello Kan;
Thanks for your fast and helpful response
Yes without Tx & Rx CallBack it is working, but:
What is a difference between fsl_uart and fsl_lpsci ?
In my project (FRDM-K64F with MK64FN!M0VLL12) I have seen that the lpsci is not applicable.
As a reference I used two Freescale lab presentations:
<https://community.freescale.com/thread/353666> https://community.freescale.com/thread/353666
<https://community.freescale.com/docs/DOC-101650> https://community.freescale.com/docs/DOC-101650
In neither of them there is nothing mentioned to deselect Rx and Tx callback.
Because of this I have made additional experiment.
I build the same UART project again (also with Rx & Tx CallBacks) but “main.c” has been replaced with my “main.c” code that was based on “non_blocking driver example”.
This main.c doesn’t have PE_low_level_init(); and RTOS startup code (all PE restricted areas).
This program works with selected and undefined CallBacks.
This was the reason that I conclude that I Tx and Rx is needed.
Now I’m sure that I made something wrong, but I’m not familiar with those callback, can you please recommend any application or paper how to work with those callbacks?
Thanks again
Shaul