Yesterday I updated MSPWare432 to the newest verstion. After the update I found an function that didn't work, to work, and I found a function that did work, but now doesn't any more. I am very concerned about this because I am we are making a new product with MSP432 and using MSPWare and I am afraid to write big chunks of code for it and when an update comes, some things don't work any more.
I'll give a part of the code I used but that should be enough. I am communicating with the CC1200. Before update everything worked with the MAP_SPI_getInterruptStatus(RF_SPI, RF_SPI_TRANSMIT_INTERRUPT); but now it doesn't wait for the transmit interrupt to be ready and overwrites. I was looking on the SPI lines on my oscilloscope and when i remove MAP_ prefix it works. I also saw that now in the examples you don't use MAP functions any more.
One last thing. Where can I find the update notes for the MSPWare432?
// Defines
#define RF_SPI EUSCI_B0_BASE
#define RF_SPI_TRANSMIT_INTERRUPT EUSCI_B_SPI_TRANSMIT_INTERRUPT
#define RF_SPI_RECEIVE_INTERRUPT EUSCI_B_SPI_RECEIVE_INTERRUPT
void ConfigureRFBurstAccess(const registerSetting_s* config) { uint32_t i; SelectRFModule(); // Command byte that says burst write from address 0x00 TransmitByteToRF(0x40); for(i = 0; i<0x2F; i++) { TransmitByteToRF(config[i].value); } // The CSn for RF needs to be pulled up to cancel the // burst into the register space and then it needs to // be pulled down again to start burst into extended // register space DeselectRFModule(); SelectRFModule(); // Command byte that says burst write in extended register space TransmitByteToRF(0x6F); // Command byte that says from which address to burst write TransmitByteToRF(0x00); for(i = 0; i<0x3A; i++) { TransmitByteToRF(config[i+0x2F].value); } DeselectRFModule(); } void TransmitByteToRF(uint8_t byte) { // Wait for transmit buffer to be empty and transmit byte while (!(SPI_getInterruptStatus(RF_SPI, RF_SPI_TRANSMIT_INTERRUPT))); MAP_SPI_transmitData(RF_SPI, byte); } uint8_t ReceiveByteFromRF() { while (!(SPI_getInterruptStatus(RF_SPI, RF_SPI_RECEIVE_INTERRUPT))); return MAP_SPI_receiveData(RF_SPI); }