SPI Flash Example for xmc4500 Relax Kit

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

cross mob
lock attach
Attachments are accessible only for community members.
User17149
Level 2
Level 2
First solution authored
Hi,

I am trying to get the external Flash to work on the relax kit for the xmc4500 using the provided sample App SPI_EXAMPLE_XMC45.
I migrated the project to the XMC4500-F100x1024 architecture and modified the pin settings to the following:

4763.attach

Furthermore, in the App dependencies screen for SPI_MASTER_0, I used the following settings (in combination with all the different 4 clock settings):

4764.attach

Nonetheless, it seems that after a write-enable the returned status (see in the attached main.c:143) is 0 and not 2, therefore the operation fails.

I even had the provided flash chip on the relax kit card replaced with another flash chip from Cypress (S25FL128L) but I get identical results.

Any ideas what I am missing?

It would be great if a sample App was provided for the relax kit as well.

Thank you in advance.
0 Likes
0 Replies