- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using TC387 kit testing the spi funciton, I set the autoCS = 1 and OEN = 0 to make the CS controled by software, the code is below:
My purpose is keep CS low when transporting data, but when I do this, the TX data will be incorrect compare with my source data, my source data is:
CS jump every byte could get the right TX data:
But when keep the CS low, the TX data will incorrect:
Have I missed some setup for the SPI?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Sccccc ,
Thank you for your interest in Infineon Semiconductor products and for the opportunity to serve you.
Comparing the above figures, the pink signals are identical actually, assume the MOSI pin sends the 0x00 consecutively, the signal will be similar to the CS signal instead of the below figure shows.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Sccccc ,
Thank you for your interest in Infineon Semiconductor products and for the opportunity to serve you.
Comparing the above figures, the pink signals are identical actually, assume the MOSI pin sends the 0x00 consecutively, the signal will be similar to the CS signal instead of the below figure shows.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeremy,
Thank you for your reply.
if I keep the chip select is controlled by the hardware module, how can I set to make chip select keep low before whole data send out?
Thank you!
Best wishes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jeremy_Zhou :
Thank you for your reply, I am using this demo to develop my function, which I need is the Continuous mode, in this mode can keep CS low until data send up.
Best wishes,
Sc