Tool/software:
Hi,
I am using SPI5 in master mode along with several slaves. I need to alternate in between different data formats.
Data-Format-0: 16 bit, Pol=0, Phase=0 => CLK finished off at low level:

Data-Format-1: 8 bit, Pol=1, Phase=0
This causes a problem every time I switch from one data format to the other. For example, switching from data format 0 to data format 1.
The clock starts low, data (0x40, 0x0C, 0x00, 0x00, 0xE0) is misinterpreted:
W
Writing the same data for a second time leads to correct data because the preceding packet ended with the clock in high state.
A similar problem occurs when switching back to data format 0, which expects the clock to start on a low level.
Is there a way to fix this behavior without sending packets twice?
Best Regards,
Juergen

