Very basic question about MSP430F2132 document.
I want to know how can i get access to i/O ports of MSP430. In another words what is the port address of port P2.5?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Very basic question about MSP430F2132 document.
I want to know how can i get access to i/O ports of MSP430. In another words what is the port address of port P2.5?
Please reference the MSP430F2132 datasheet to get the address of the P2 registers and the MSP430x2xx Family User's Guide in Chapter 8 to get a description of the specific registers.
Also, the MSP430F21x2 Code Examples (Rev. C) found on the MSP430F2131 Product Folder have examples that demonstrate targeting P1, but you should be able to extrapolate to P2.
Thanks.
Actually i want a serial communication between Gang programmer and MSP430. I wanted word address of port P2 to read the stauts of it. for eg read input register of port P2.
just wanted to verify with you the is the input register address is 0028h.
Yes, Table 17 of the datasheet indicates address 0028h is the P2 input register.
**Attention** This is a public forum