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

PSoC™ 4 Forum Discussions

josc_1234441
Level 1
First like received
Level 1

Are there any limitations on the processor core when using the emulated EEPROM component. Does the CPU stop while the Flash is being written to for example?

0 Likes
1 Solution
Bob_Marlowe
Level 10
First like given 50 questions asked 10 questions asked
Level 10

There are blocking writes and non-blocking writes for em_eeprom component. A side effect can be (device dependent) that the clock frequency might get changed during the write. For details see in System Reference Guide (from Creator help).

Bob

View solution in original post

2 Replies
Anonymous
Not applicable

The CPU requires a specific speed when running the flash operations underlying the EEPROM Emulation, and take a noticeable amount of time and current to run. The CPU keeps running, but blocks/polls while operating.

Depending on what kind of chip you have, there is some additional functionality that may change the statement above (the PSoC 6 has more functionality and behavior).

As long as you have enough voltage, and don't mind the CPU bumping to 24MHz (IIRC) when writing flash, then it sounds like the EEPROM emulation writes will run asynchronously to the CPU? (It might block in the API for clarity's sake)

0 Likes
Bob_Marlowe
Level 10
First like given 50 questions asked 10 questions asked
Level 10

There are blocking writes and non-blocking writes for em_eeprom component. A side effect can be (device dependent) that the clock frequency might get changed during the write. For details see in System Reference Guide (from Creator help).

Bob