Hi all,
I use LPC824 and i want to use the second i2c but i don't find the physical pin number to use with the function
Chip_SWM_MovablePinAssign(CHIP_SWM_PIN_MOVABLE_T movable, uint8_t assign), then what number use in assign variable for any pin?
Thanks
已解决! 转到解答。
PIO0_1 is pin 1, PIO0_15 is pin 15. In general, PIO0_n is pin n. See section 7.3.1 the User Manual (UM10800).
Hi,
Please check the below information from user manual: http://www.nxp.com/docs/en/user-guide/UM10800.pdf
Have a great day,
Soledad
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear Soledad,
i have this:
Chip_SWM_MovablePinAssign( SWM_I2C1_SCL_IO, x);
Chip_SWM_MovablePinAssign( SWM_I2C1_SDA_IO, y);
but i don't know which numbers use in x,y for assignate PIO0_1 and PIO0_15 as SDA and SCL pins for I2C1
Do you know if there's a table with that information?
thanks