I2C communication error KE02 I2C Bootloader AN4775

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

I2C communication error KE02 I2C Bootloader AN4775

780 Views
liyangcheng
Contributor II

First of all. I have to say sorry for my English since I am not a native speaker.

I use two FRDM-KE02Z4,R42、R45 are removed,0R for R39 R47.

Convert board and target board SDA SCL has  4.7k pull-up resistor on 3.3v.

Target board and conversion board can not hook.

Power on ,the contents of the communication between the target board and conversion board is not

A0 06 00 00 00 02 08 A1 82 FC CheckSum, but A0 06 00 00 00 02 08 A1 55 73 3F , 55 is fixed , 73 3F is random.

I use the debugger tracking and found that the program will not enter FC_Check inside
if (FC_CheckReceiveFrame (& gu8I2CRxFrameBuff [0], * pRxFrameLenth))
{
.........

}

So there is no implementation of the
    case FC_CMD_HOOK:
        I2C_WriteTxComACK (FC_CMD_HOOK);
        I2C_WriteOneByteToTxBuff (FC_CMD_ACK);
   break;

Hopefully there's someone that can help me.

Tags (2)
0 Kudos
2 Replies

531 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi LIYANG CHENG,

Thank you for your patience, the code really have problems.

 Now, our AE already modified that code, please use my attached code, we have test it, it works OK now.

If you use J2_20, J2_18pin, please remember to connect R42,R39,R45and R47.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

531 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi LIYANG CHENG,

Thank you for your interest in NXP kinetis product, I would like to provide service for you.

About this question, we have discussed it in the eefocus forum:

FRDM-KE02Z4 I2C通信內容異常 AN4775 - ARM Cortex-M系列产品 - 恩智浦技术社区 - 手机版 - Powered by Discuz! 

Just as I told you, I have reproduced your problem, and I need to check it with our according department.

After I get the reply, I will let you know ASAP, please wait patiently.

Thanks a lot for your understanding.

Best Regards,

Kerry

0 Kudos