Hi Team
Can you help with the inquiry below?
I would like to know whether configuring a pin (port5, pin4) as a peripheral prevents its current value from being updated in the PXIN register.
working with an ADC chip that is connected to a MSP430 via an SPI bus so the port5, pin4 configured as an SPI MISO signal. The ADC device sets it’s MISO output pin high when it is ready to transmit and I need to watch the MSP430 MISO input pin to know when to read in a new value from the ADC. I have set this handshaking up in my software, but my code does not see the pin change state by reading the P5IN register even when I see the signal toggle on an oscilloscope. So I’m wondering if I should be able to read the state of the pin if it is configured as an SPI peripheral pin, or if I need to configure it as an input to read the pin and then configure it as an SPI peripheral pin to do the SPI read.
Thank you in advance.
Regards,
Marvin