Jump to content
43oh

MSP432R SPI Problem Re-emerges with 5.25.0 board file


Recommended Posts

With the 5.25.0 msp432pr board file update, my SPI stuff has stopped working.  Some time back, there was an issue with spi modes 0/1 being switched.  As such, that was the direction I was looking to try and figure out my current problem.  While digging around I noticed this:

5.23.1\cores\msp432r\ti\runtime\wiring\SPI.h

#define SPI_MODE0 SPI_POL0_PHA0
#define SPI_MODE1 SPI_POL0_PHA1
#define SPI_MODE2 SPI_POL1_PHA0
#define SPI_MODE3 SPI_POL1_PHA1

5.25.0\cores\msp432r\ti\runtime\wiring\SPI.h

#define SPI_MODE0 SPI_POL0_PHA1
#define SPI_MODE1 SPI_POL0_PHA0
#define SPI_MODE2 SPI_POL1_PHA1
#define SPI_MODE3 SPI_POL1_PHA0

If I swap the definitions for SPI_MODE0 and SPI_MODE1 my code works again.  So has the mode swapping problem re-appeared?

 

Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...