I want to know how to use LPC 822 I want to know how to use I2C among them. I am building programs using the development environment of LPCXPressso. I want to know there is how to use the I2C driver.
Hi nakajima fuminori,
Thank you for your interest in NXP LPC product, I would like to provide service for you.
About the I2C usage, you can refer to our official code for LPC82X, there have some I2C code.
1. Codebundle code
LPC824 Example Code Bundle LPCXpresso
Folder:LPC824_Example_Code_Bundle_LPCXpresso_r1.0\Example_I2C_MasterSlave
2. LPCopen code
https://www.nxp.com/downloads/en/libraries/lpcopen_3_02_lpcxpresso_nxp_lpcxpresso_824.zip
periph_i2cm_interrupt and periph_i2cs_interrupt
master and slave.
Please associate with our LPC822 user manual and the official code to learn the I2C module usage.
If you still have question about it after you learn it, please kindly let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------