Hello,
I am using UART for communicating with parity enabled (Even parity) according to the data sheet of MK60DN512ZVLL10 to enable the parity UARTX_C1 they have mentioned to enable 7816E in control register UARTX_C7816 before it.
After enabling this and setting the parity i m getting hard fault while i debug.
I am not able to figure out what is the problem
Please help out.
Hi
Do not enable ISO-7816E.
You have misread the register description - it doesn't say you have to enable it; instead it states that you should set even parity "if you were to use 7816".
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements
For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/iMX/RT1064.html
Hello,
If that is the case if I send data from the hyper terminal i am able to receive response but when i send data through K60 controller Uart i am not receiving data.
Hi
There could be various reasons for your problem. Measure that the parity actually being used using an oscilloscope or logic analyser first to ensure it is as you expect it to be.
If you are receiving data check the status register for parity errors too.
Regards
Mark