SCB SPI and non SCB SPI modules have different behaviour

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi all,

   

We have a different behaviour of the Cypress SPI modules on different Cypress CPUs.
When we use the SPI Slave non SCB (UDB?) based, version 2.70 on a CY8C4247LQI-BL483 we do receive SPI frames
from a Renesas controller, means the buffersize remains 0,
but when we change to CYBL10563-56LQXI we can only use the SCB based SPI module version 3.0 and
do not receive any frames with this component.
We use mode Slave and submode Motorola, with SCLK mode CPHA=1 and CPOL=0, Oversampling=8,
RX/TX data bits=8, MSB First, Number of SS:1, Active Low, with a FIFO Buffer size of 8 bytes. The datarate is 1kHz.

   

And the SCB SPI component has no rx/tx interrupt? Only an SPI_Done status and the various FIFO status and the buffer size?

   

Has anyone an idea why the modules are so different?

   

Thanks a lot and best regards

   

Andreas

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Andreas,

   

Set the SCB SPI to byte mode, Rx and Tx buffer to > 16. Then you have all interrupts you want.

   

The reason for the different components is related to the underlying hardware the SPI is build from. USB differs from SCB dramatically.

   

 

   

Bob

View solution in original post

0 Likes
8 Replies