- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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