I am using 4200M dev kit for a project. The PSOC is configuring an SCB as SPI Master in configured mode and talks to three slaves off board. Two of my slaves use the falling edge of the clock to clock in the data whereas one slave uses the rising edge of the clock to clock in the data. I am also using Firmware controlled chip select for each of the slave
Is it possible to change the SPI Sub mode for each of the slave at run time via any API? I looked through the data sheet for the SCB component version 4.0 and could not find any.
You might need to use SCB configuration, which is set to “Unconfigured SCB” in the customizer.
You have option to specify Sub mode - void SCB_SpiInit(SCB_SPI_INIT_STRUCT *config)