K60 Uart Communication with Parity

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K60 Uart Communication with Parity

795 Views
mdrasool_yadwad
Contributor II

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.

0 Kudos
3 Replies

786 Views
mjbcswitzerland
Specialist V

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

0 Kudos

783 Views
mdrasool_yadwad
Contributor II

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.

0 Kudos

771 Views
mjbcswitzerland
Specialist V

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

 

0 Kudos