Different behavior of I2C on MK21 and MK60

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

Different behavior of I2C on MK21 and MK60

635 Views
cerma
Contributor IV

Hi,

I have two PCBs with MK21FX512. I am using two I2C on both PCB. Both act weird. When I put on the same PCB MK60DN512Z and I run same project but for MK60 both I2C working just fine. Is there any difference between module I2C of MK21FX512 and MK60DN512Z? IDE CW10.6 and KDS3.0 generating via PEx same drivers for both processors.

0 Kudos
3 Replies

414 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Jaroslav Cermak:

Could you let me know the silicon mask of both devices (the one that works and the one that fails)? You can see the mask number on the top of the MCU chip. The I2C module should work the same in both devices, but there might be an errata involved. Also MK60DN512Z is an old silicon revision of the K60DN512.

Also, please provide more information on the actual issue, so we can analyze the situation. What do you mean with "different behavior" and "both act weird"?

Regards!

Jorge Gonzalez

0 Kudos

414 Views
cerma
Contributor IV

Hi Jorge,

silicon mask:

work: MK60DN512 ZVLQ10  - 8N30D

fails: MK21FX512VLQ12 - 2N03G

Some idea?

Jaroslav

0 Kudos

414 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi Jaroslav:

The errata for Mask 2N03G includes a repeated start issue with the I2C module (see below errata and workaround). Could this be your issue? You have not described the erroneous behavior so I am just guessing.

pastedImage_0.png

Regards!

Jorge Gonzalez

0 Kudos