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.

MSP-EXP430FR2355: Curious about ports A through C

Part Number: MSP-EXP430FR2355

Couldn't find any information about this with Google, so I'm asking here.

To clear ULP warnings, I've gotten into the habit of spamming nine lines of PxOUT = 0; PxDIR = 0xFF; during my GPIO initialization. I'm just curious what Ports A through C are: they clearly exist on the register list in CCS but they don't appear to be accessible. Are they normal GPIO that simply aren't broken out of the chip packaging, or do they do something special?

  • From my point of view, you need to maintain your project, this header file is some kind of superset header file which may contain more pins than the device actually has.

    Based on your device part number and package, you can modify your own header file to fit into your project.

    Hope this make sense to you.

  • From the guide (8.1):

    "Individual ports can be accessed as byte-wide ports or can be combined into word-wide ports and
    accessed by word formats. Port pairs P1 and P2, P3 and P4, P5 and P6, P7 and P8, and so on, are
    associated with the names PA, PB, PC, PD, and so on, respectively."

  • "Individual ports can be accessed as byte-wide ports or can be combined into word-wide ports and
    accessed by word formats. Port pairs P1 and P2, P3 and P4, P5 and P6, P7 and P8, and so on, are
    associated with the names PA, PB, PC, PD, and so on, respectively."

    Refer to the register here: P1IN_L and P1IN_H

    User guide 8.4 Digital I/O Registers

    You can get corresponding PIN name in 4.2 here: datasheet 4.2 Pin Attributes

    All pin should be Px.y, x and y are both number like: P1.2 in device FR2355

  •   PAOUT = 0;
        802a:       82 43 02 02     mov     #0,     &0x0202 ;r3 As==00
    
    0000802e <.Loc.25.1>:
      P1OUT = P2OUT = 0;
        802e:       c2 43 03 02     mov.b   #0,     &0x0203 ;r3 As==00
    
    00008032 <.Loc.25.1>:
        8032:       c2 43 02 02     mov.b   #0,     &0x0202 ;r3 As==00
    
    

**Attention** This is a public forum