S26KL512S Xip

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

cross mob
algr_4779301
Level 1
Level 1

Hello,

Can we use this memory (S26KL512S) in Xip (execute in Place) mode ?

Best Regard

0 Likes
1 Solution
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Thank you for contacting Cypress Community.

The XIP feature depends on the SoC which needs to support this feature.

In general, a page is being fetched from the HyperFlash in one read operation and that page contains code instructions to be executed. The HyperFlash read latencies are low enough to allow for code execution in place (XIP) mode. Our flash is always acting in slave mode.

However, unlike SPI flash devices, in HyperFlash we don't have that special read mode that allows skipping the command. The controller will have to issue normal read operations to fetch its code.

So in a nutshell, it's up to the controller to control the whole situation. No special handling on the Flash side.

Thank you and Regards,

Apurva

View solution in original post

0 Likes
4 Replies
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Thank you for contacting Cypress Community.

The XIP feature depends on the SoC which needs to support this feature.

In general, a page is being fetched from the HyperFlash in one read operation and that page contains code instructions to be executed. The HyperFlash read latencies are low enough to allow for code execution in place (XIP) mode. Our flash is always acting in slave mode.

However, unlike SPI flash devices, in HyperFlash we don't have that special read mode that allows skipping the command. The controller will have to issue normal read operations to fetch its code.

So in a nutshell, it's up to the controller to control the whole situation. No special handling on the Flash side.

Thank you and Regards,

Apurva

0 Likes

Hello,

thank you for your answers.

but i have another question.
in Xip mode, can we write data storage to the same flash and also write to the internal flash of the microcontroller?

Best regards

0 Likes

Hi,

Actually your query is not clear to me.

Are you asking whether you can use the HyperFlash to store the code and data both? If yes, then I would like to confirm that yes, the HyperFlash can be used to store both code and data.

If you have the same question about the internal memory of the microcontroller, then I would suggest you to contact the microcontroller company and try to get a clarification on that from them.

Regards,

Apurva

0 Likes

Hello

thank you for the answers, the answer is clear.

I contact microcontroller company for others questions

Best Regards

0 Likes