Hi Alex, You can do this by either changing the SPH bit in the CTL0 register or by creating a new DL_SPI_Config object with the changed .frameFormat set to the desired phase (DL_SPI_FRAME_FORMAT_MOTO4_POL0_PHA0 for 1st or DL_SPI_FRAME_FORMAT_MOTO4_POL0_PHA1 for 2nd) and using it inside the DL_SPI_init function. You can find how Sysconfig sets this through Driverlib inside the ti_msp_dl_config.c file inside the Debug folder of the project. Best Regards, Diego Abad
↧