Basic SPI question

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

cross mob
SaGa_4641021
Level 5
Level 5
50 questions asked 50 replies posted 100 sign-ins

Hi

I am using PSoC-6 as SPI slave to send data to master (PC).

Description of Cy_SCB_SPI_WriteArrayBlocking() says: When in the slave mode, writing data into the TX FIFO does not start an SPI transfer. The data is loaded in the TX FIFO and will be sent to the master on its request.

Does the PSoC slave SPI sends data once it receives the clock from the bus master ? or does it respond when the master asserts the slave_select ?

thanks

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

1.Does the PSoC slave SPI sends data once it receives the clock from the bus master ? or does it respond when the master asserts the slave_select ?

>>Yes, Slave will send data only when master sends clock.

Regards

Alakananda

View solution in original post

1 Reply
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

1.Does the PSoC slave SPI sends data once it receives the clock from the bus master ? or does it respond when the master asserts the slave_select ?

>>Yes, Slave will send data only when master sends clock.

Regards

Alakananda