HI Ole
(1) At the begin of the project , it need initialize both SPI0 and SPI1,
complete the two component basic SPI configure.
And delete "
/* Start the transfer process in the hardware */
DSPI_HAL_StartTransfer(baseAddr);
"
(2) n the process of replacement , use the function "DSPI_HAL_StartTransfer()" and "DSPI_HAL_StopTransfer()".
(3) About the bit PCS[x] you said , both PCS[0] and PCS[1] (if use SPI0 and SPI1 ) already set "Assert" in the initialize function.
(4) Of course , if there have public register the two SPI both use ,and only can select one SPI in this register , it need reconfigure in the change period.
BR
Alice