i want to set the CS to high or low to deactivate or activate the slave device.
How can i perform this?
The CS is automatically activated/deactivated by the SPI module.
Only select which CS you want to use in TCR[PCS], set its polarity CFGR1[PCSPOL] and a delay between the last/first SCK edge and CS assertion/deassertion using CCR[SCKPCS, PCSSCK, DBT].
Retrieving data ...