AnsweredAssumed Answered

[NHS3100][I2C] How to run and test the "i2c: I2C Driver Example", that is, "app_example_dp_i2c" in "release_mra2_10_1_nhs3100.zip"

Question asked by Arna Lee on Mar 14, 2018
Latest reply on Mar 22, 2018 by Arna Lee
Hi Sir,
I am now working on NHS3100 with LPCXpresso.
I downloaded "release_mra2_10_1_nhs3100.zip" and imported to LPCXpresso.
I tried to test/run the "app_example_dp_i2c" to study how the I2C Driver works.
But I got some problem to understand the behavior of the example.
And I read the "\release_mra2_10_1_nhs3100\docs" for "i2c: I2C Driver Example", which talks about:
-------------
How to setup
 User can use two NHS demo boards for the example application. The I2C pins - PIO0_4 and PIO0_5 - of the two boards are to be connected back to back. User need to also ensure that PIO0_4 and PIO0_5 are pulled-up.
 To evaluate this example, user can flash one of the boards with the master build and the other board with the slave build.
Note
 The I2C IRQ handler is implemented in the I2CIO mod. In case this module is not linked in the application, the application itself needs to implement it.
-------------
 
Here are my questions:
1. "User need to also ensure that PIO0_4 and PIO0_5 are pulled-up."
=> What does it mean? Should I modified the example project "app_example_dp_i2c"?
2. "The I2C IRQ handler is implemented in the I2CIO mod. In case this module is not linked in the application, the application itself needs to implement it."
=> What does it mean? Should I modified the example project "app_example_dp_i2c" so that it can run correctly?
I am working hard for making the whole thing clear but I am still confused.
Sorry but it is a little new for me for this topic.
Appreciated your support and help.
Many thanks and regards,
Arna

Outcomes