AnsweredAssumed Answered

Read the pin value of a configured peripheral

Question asked by Jeffrey Stewart on Mar 10, 2015
Latest reply on Mar 13, 2015 by Jorge_Gonzalez

I am configuring the FRDM-K22F board with a Linear Tech LTC2449 ADC, which is connected via SPI.  The ADC signals that a conversion is complete by driving the MISO pin low when CS is toggled low.  In the example code from Linear, they drive the CS line low and then read the state of the MISO pin directly to determine if the End of Conversion(EOC) event has occurred.

 

I am new to Freescale / Kinetis Design Studio, and am trying to configure my project so that I can read the pin state (MISO) while that pin is being used by an SPI module.  I have attempted to use the BITIO Component configured as an Input, but it throws an error that says "Selected value is in conflict with another configuration property. . ."  What is the correct way to read the Pin value (PTC7) when that pin is allocated to an SPI component?

 

I have a sneaking suspicion that I am over-thinking this.

Outcomes