Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 7 months ago.
Which pins are used for i2c ?
Hello , I would like to know what are the pins that can be used for platform i2c in kl25z
Hola, quisiera saber que pines puedo usar para comunicacion i2c en la plataforma kl25z
2 Answers
9 years, 7 months ago.
According to the following PTE0 and PTE1 https://developer.mbed.org/handbook/mbed-FRDM-KL25Z
9 years, 7 months ago.
Here are all I2C pin options:
/************I2C***************/ const PinMap PinMap_I2C_SDA[] = { {PTE25, I2C_0, 5}, {PTC9, I2C_0, 2}, {PTE0, I2C_1, 6}, {PTB1, I2C_0, 2}, {PTB3, I2C_0, 2}, {PTC11, I2C_1, 2}, {PTC2, I2C_1, 2}, {PTA4, I2C_1, 2}, {NC , NC , 0} }; const PinMap PinMap_I2C_SCL[] = { {PTE24, I2C_0, 5}, {PTC8, I2C_0, 2}, {PTE1, I2C_1, 6}, {PTB0, I2C_0, 2}, {PTB2, I2C_0, 2}, {PTC10, I2C_1, 2}, {PTC1, I2C_1, 2}, {NC , NC, 0} };