Hi Jason,
Thank you for your more details, you are using InternalI2C module, not the I2C_LDD module.
I have check the generated code, actually, the number of polling trials is just control the wait times, if the the flag is got, then the code will break from the wait for(;;).
About the data setting ,there has no detail rule, here I suggest you use the max data:65535, because it is just like the while in the polling mode, just used for wait the sent status.
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you very much!
Hi Jason,
Thank you for your more details, you are using InternalI2C module, not the I2C_LDD module.
I have check the generated code, actually, the number of polling trials is just control the wait times, if the the flag is got, then the code will break from the wait for(;;).
About the data setting ,there has no detail rule, here I suggest you use the max data:65535, because it is just like the while in the polling mode, just used for wait the sent status.
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jason,
Thank you for your interest in NXP product, I would like to provide service for you!
Could you tell me which chip you are using? and What the IDE you are using now?
I use the KDS3.0 and create a Kinetis project, when I add the I2C_LDD component, I didn't find the Polling trials which you are mentioned:
So, please tell me more information or you can give me your test project, I would like to help you to check it.
Waiting for your reply!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jingjing
KEA128
+
CodeWarrior for MCU
Version: 10.6.4
Thank you very much!
Jason
Hi Jason,
It's really very strange, I also use the cw10.6.4, but I didn't find the item which you are mentioned:
Attached is my test project, you can open my project, whether it has the I2C polling trials in my project on your side.
Please check my project at first!
I also test our KDS for KEA128, it also don't have that items.
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------