Hi,
I implementted LPUART function with S32KDS and SKD_S32K14x_09.
But the UART function does not work.
I attched my project.
Please review my project.
Best regards,
Byungju.
Hi,
I looked at you project and question is - how do you find out that UART doesn't work? In your project is only UART init function - returning STATUS_SUCCESS.
Please look at lpuart_echo_s32k144 example for reference:
Hope it helps.
Jiri
Dear Jiri,
Thanks to you, I can see UART message.
I have two questions.
1. How to get the S32K14x_RTM_SDK_V2.0.0?
2. How to use UART interrupt?
I use LPUART_DRV_InstallRxCallback. But I think Interrupt does not be clear.
Can you give me the guide of interrupt of uart?
Best regards,
Byungju.
You can click on this message box - probably appeared after S32DS Launch to update S32DS:
If you don't see such message - update your S32DS Installation manually - on main menu bar click on Help -> Install new software
Click on available sites, choose PEMicro and S32DesignStudio, click on OK
In Work with row select All Available sites - and when updates will be found - click on next.
As I mentioned above - best starting point is LPUART echo example - this example is available in any SDK version and uses interrupts.
Hope it helps
Jiri
Dear Jiri,
I have two questions.
1. How to import S32K14x_RTM_SDK_V2.0.0?
I get the samplecode with S32K14x_RTM_SDK_V2.0.0.
But I don't use S32K14x_RTM_SDK_V2.0.0.
So I don't use some funtions.
2. How to clear UART interrupt?
When I test send uart message of very big data size.
Because interrupt does not clear, MCU is reset because of watchdog time out.
Best regards,
Byungju.
Dear Jiri
Thanks for your help.
I will try it.
Best regards,
Byungju.