AnsweredAssumed Answered

How to choose I2C (or SPI) peripheral to use?

Question asked by gsanchez on Oct 3, 2013
Latest reply on Oct 4, 2013 by gsanchez

Hello friends, I have this question today. Observing the Kinetis K60 datasheet with I count (MK60DX256ZVLQ10), I can see that it have two pairs of pins with support for "I2C0" peripheral, that is:

pin 81: I2C0_SCL (ALT2)

pin 82: I2C0_SDA (ALT2)

pin 83: I2C0_SCL (ALT2)

pin 84: I2C0_SDA (ALT2)

 

I'm using MQX 3.8.1 with a customized board with the MCU descripted before. My question is very simple: Using MQX, with the BSP, formatted IO , and "fopen" function, how do I indicate to MQX which one of two pair of pins I will use?

 

This question can apply to SPI peripheral...

Outcomes