Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 236059

Forum Post: RE: MSPM0L1306: Modify CTL0 SPI register value

$
0
0
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

Viewing all articles
Browse latest Browse all 236059

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>