The board uses PTA2 and PTA3 for I2C communications, but both of these pins are already used by the on-board accelerometer. PTB6 and PTB7 are the other options, but they are running an on-board clock. How can I use I2C communication on this board if all the allocated pins are already used by on-board components?
Please don't yell at me. I'm an intern.
Hi Matthew Stagg,
mjbcswitzerland is correct, you still can use PTA2 and PTA3 pin, you just need to define your slave address different from the on-board acelerometer adress.
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Matthew
I2C is a bus that can have many devices on it so the fact that the accelerometer is connected to PA2 and PA3 don't restrict you from using the same bus lines for furter devices with difference addresses.
Regards
Mark
Kinetis: µTasker Kinetis support
KE: µTasker FRDM-KE02Z support / µTasker FRDM-KE02Z40M support / µTasker FRDM-KE06Z support
For the complete "out-of-the-box" Kinetis experience and faster time to market