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.

How do I map P5.2 , P5.3 , P5.4 to UCB0 SIMO , SOMI , CLK in MSP430F5635

Other Parts Discussed in Thread: MSP430F5635

Hi ,

I am able to map Port 2 to UCB0 signals .

Is there any way to map Port 5 pins 2 , 3  , 4 to UCB0 - SIMO , SOMI , CLK  signals ?

My hardware is designed to get  UCB0 - SIMO , SOMI , CLK  signals  from Port 5 pins 2 , 3 , 4 .

I have to code the software for that .

How do I map ?

For Port 5 mapping register definitions are no defined in msp430f5635.h

Thanks in advance

Jenitta

  • Hi Jenitta,

    Unfortunately, you cannot map UCB0 functions to P5.x.

    You can implement SPI in software.  Typically this is called bit banging.  Your software reads and writes the bits in P5IN and P5OUT to conduct SPI traffic.  Practically speaking this works only if you are SPI master.

    Jeff

  • Jenitta Rex said:
    For Port 5 mapping register definitions are no defined in msp430f5635.h

    Because on this MSP, only Port 1-4 are mappable. (on others even less)

**Attention** This is a public forum