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.
11 years, 5 months ago.
Which pins can I use for I2C on the KL25Z?
I'm confused.
The pinout diagram for the KL25Z in the handbook seems to suggest that only PTE0 and PTE1 can be used for I2C comms.
However the KL25Z manual says that the accelerometer is on PTE24 and PTE25 (I2C0) and the schematic seems to suggest that PTA3 and PTA4 (I2C1) can also be used.
Is there a mistake somewhere in the various pinout diagrams? The handbook pinout diagram shows PTE0 = SDA and PTE1 = SCL. The diagram at the end of the Freescale KL25Z manual showing Arduino pinouts has PTE0 = SCL and PTE1 = SDA.
Furthermore, the handbook shows PTE1 as the last pin on the connector (pin 20). The Freescale manual shows PTE0 as the last pin. Which one is right?
1 Answer
11 years, 5 months ago.
The mbed handbook pinout is correct wrt pte0 and pte1. The original kl25z manual is wrong.