SPI Flash RTOS read operation

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

cross mob
CMH
Employee
Employee
Hi,
I'm working with the XMC 4500 Hexagon Kit and I want to perform write and read operations onto the onboard SPI Flash.
It is also required that the system runs in RTOS.

I had a look at the DAVE project examples from the infineon homepage.
The only SPI002 Example seems to read out SPI data from another location (there are 2 channels configured to perform read operations (1 src and 1 dest channel)).
How do I read data from the SPI Flash using the SPI002 app? I cannot configure 2 cahnnels since those require different CS pins, so I tried to send the Read command (0x3) and the 3 address bits at first using SRC channel then reconfigure the channel to DEST and then read the data, but that does not work either.

Any advice?

best regards

EDIT:
eventually i figured it out,
Thanks anyway
0 Likes
0 Replies