Hello all,
Greetings. Can some one help me with the following problem please?
I am using the SPI port B1 (UCxB1) on the MSP430F47187 that is associated with Port 2 pins. specifically P2.1, P2.2, & P2.3
As such I am setting the corresponding P2SEL register to 0x0E. thus selecting the peripheral function for these pins.
A line in the User manual reads, "when configured for the peripheral function the internal port bit reflects the device pin status"
But how do I channel this status so that I can read the port pin and acquire the current status. I take it the P2IN register is disconnected from the external pin once the pin is configured for its peripheral function?? However theie is NO pin diagram showing the internal pin arrangement ANYWHERE in the entire user manual.
Could some kind soul please point me to such a diagram if one exists?
Also is there a way to read the instantaneous pin status while the pin is configured for a peripheral function?
My reason for wanting this is as follows: I am interfacing to a NOR flash memory. The NOR flash outputs a busy status on the SOMI line if the Flash memory is performing an Erase or Write cycle. The alternative to reading this pin is to read the status register which is slower than reading the SOMI pin and hence not an attractive solution.
This is very important and just a wee bit urgent.
Thanks to anyone who replies.
Best regards
Aniruddha