Hi,
I'm using the msp432P401R to communicate with 2 ADCs (ADS1118 and ADS8354). I would like to improve the speed of my code, so I tried to increase the DCO frequency using MAP_CS_setDCOCenteredFrequency, but this started messing up the SPI communication with my devices. I accounted for the frequency changes in my SPIConfig. I also tried increasing the DCO frequency while keeping the SMCLK at the same frequency (I'm using SMCLK as the SPI clock source) using CS_initClockSignal and CS_CLOCK_DIVIDER. However, no matter what else I do, as soon as I increase from CS_DCO_FREQUENCY_3, the values back from the ADC no longer match expected values. Can anybody explain why this might be? Also, am I correct in thinking that increasing the DCO frequency will increase the rate at which the microcontroller executes instructions?
Thanks,
Matt