- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone !
Thank you for the possibility to make question here!
My code is using the internal EEPROM.
I am trying to follow the recommendation of Psoc_3 Architecture_TRM regarding Lvia and lvid as reset sources.
What I am trying to do is set those reset sources as interrupt and not reset.
I have attached the .c file with both register needed to write to avoid reset.
I do not know what I am missing, but the writing to register "RESET_CR1" doesn't work.
Writing to RESET_CR3 does work.
Any help will be very appreciated.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would recommend you post the entire project -
“File” Creator
“Create Workspace Bundle”
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much Dana, I'll do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you file a CASE on this ?
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
// Enable LVID and LVIA circuits
CY_SET_REG8(CYREG_RESET_CR1,CY_GET_REG8(CYREG_RESET_CR1)|0x03);
// Disable LVID and LVIA resets by clearing bit 7 in RESET_CR3 register
CY_SET_REG8(CYREG_RESET_CR3,CY_GET_REG8(CYREG_RESET_CR3)&0x7F);
Does it work for you ?
Thank you,
Pavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content