In S32k146, I have a need to disable UART permanently after end of line testing.
can you pls describe some way to do it. which LPUART register can be used to disable it
or do we need to make some other changes.
Hi MaheshSingh,
You can refer to the content of LPUART_DRV_Deinit in S32 SDK for S32K1xx RTM 4.0.2
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks Robin,
with these steps again UART will get initialize with reset of ECU right,
I need to disable UART pins permanently, so that it can't be enabled again normally.
How about using AIPS to configure the protection of peripheral registers?
You can refer to:
How to use s32k144 aips?
aips_demo_s32k118.zip
There is no such register in LPUART to permanently disable this peripheral. Users can reinitialize the peripherals and enable them through the registers.
Can you describe, what kind of application situation needs this kind of function? Or describe peripheral of other MCUs or MPUs that have this function.