Jump to content
JRDavisUF

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?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×