AnsweredAssumed Answered

LPSPI Baud Rate Change

Question asked by Jeff Thompson on Sep 10, 2019
Latest reply on Sep 10, 2019 by Susi Pinon

I initially configure my SPI device at at a baud rate of 10 MHz. Following that, it's able to run at 30 MHz, so I get a copy of masterConfig by calling LPSPI_MasterGetDefaultConfig, change the baudRate member of the copy to 30000000, and then call LPSPI_MasterInit, passing it the LPSPI peripheral's base address, the modified copy of masterConfig, and the LPSPI clock frequency. I got the base address and clock frequency from peripherals.h, and they match the settings I chose using MCUXpresso ConfigTools Peripherals tools. However, the baud rate does not change. What else do I need to do?