cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Honored Contributor

Hi,

We would like to confirm the rewriting of NVL.

It is necessary to set GPIO low after POR.

Therefore, We set the reset tab of Configure 'Pin' to "Pulled-Down" and wrote the program.

GPIO goes low after POR as expected.

We know that NVL has a rewrite endurance value.

Endurance of Non-volatile Latches (NVL) in PSoC 3/5

In order not to rewrite the information of the NVL set in the pull-down,
When overwriting, it was set the reset tab of Cofigure 'Pin' to "Don't Care".

Operation was confirmed after setting to "Don't Care".
Then it looks like the pin is set to Hi-Z. Not Low.

Should we always write with the Configure 'Pin' settings "Pulled-Down"?

If it is necessary to always write using "Pull-Down" settings, does the rewrite endurance value always decrease every time?

We were aware that the "Don't Care" setting did not rewrite the NVL information, but it seems to be different when we confirm for the pin operation.

Regards,

0 Likes
Reply
1 Solution
Moderator
Moderator

According to PSoC 5LP Device Programming Specification the NVL in device will be rewritten, only when the NVL content is different from the one stored in device and the one in HEX file.

That mean NVL rewriting happens by any changing NVL content, i.e pin Power-On Reset configuration changed “Don’t care” to “Pulled-Down”, and “Pulled-Down” to “Don’t care”.

And if you doesn’t change pin Power-On Reset confirmation, NVL content is same in device and HEX file. In this case, NVL rewriting doesn’t occur.

Therefore,

> Should we always write with the Configure 'Pin' settings "Pulled-Down"?

Yes, if you decide to set “Pulled-Down” for pin, it would be better to keep same “Pulled-Down” configuration for that pin from NVL endurance perspective

> If it is necessary to always write using "Pull-Down" settings, does the rewrite endurance value always decrease every time?

No, this is because NVL rewriting occurs only when NVL content is different between in device and in HEX file.

View solution in original post

2 Replies
Moderator
Moderator

According to PSoC 5LP Device Programming Specification the NVL in device will be rewritten, only when the NVL content is different from the one stored in device and the one in HEX file.

That mean NVL rewriting happens by any changing NVL content, i.e pin Power-On Reset configuration changed “Don’t care” to “Pulled-Down”, and “Pulled-Down” to “Don’t care”.

And if you doesn’t change pin Power-On Reset confirmation, NVL content is same in device and HEX file. In this case, NVL rewriting doesn’t occur.

Therefore,

> Should we always write with the Configure 'Pin' settings "Pulled-Down"?

Yes, if you decide to set “Pulled-Down” for pin, it would be better to keep same “Pulled-Down” configuration for that pin from NVL endurance perspective

> If it is necessary to always write using "Pull-Down" settings, does the rewrite endurance value always decrease every time?

No, this is because NVL rewriting occurs only when NVL content is different between in device and in HEX file.

View solution in original post

Honored Contributor

Thank you for your response.

The description in the GPIO POR configuration in PSoC Creator recommended "Don't Care",

and I could not distinguish the difference between "Don't Care" and "Hi-Z Analog" configuration.
I understood that my recognition was wrong.


Regards,

0 Likes
Reply