- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I'm using in PSOC5 - CY8C5868AXI-LP035.
I've tried to figured out how to software the pin XRES but without successful.
There any options how can to software the XRES so i can do reset to PSOC without external intervention?
Thanks for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried with my CY8CKIT-059 (CY8C5888LTI-LP097).
Hopefully C source should be usable for your board/device, too.
schematic
pin_1 config
isr_1 config
pins (for CY8CKIT-059)
main.c
Tera Term output
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I wonder if "CySoftwareReset()" can be used for your purpose.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've seen this function in several posts but couldn't find in datasheets where it exists to understand how to use it.
can you please refer where can I find information about this function? which type of variable Is it?
thanks for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Assuming that you are using PSoC Creator,
CySoftwareReset() is defined in CyLib.c as below.
You can also directly set that bit using
CY_LIB_RESET_CR2_REG |= CY_LIB_RESET_CR2_RESET ;
For the meaning of the bit and register,
please refer to PSoC 5LP Register TRM
moto
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thanks so much.
little question - can you please explain when does the function CY_ISR is execute?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alexander,
CY_ISR gets executed when the SW gets pressed.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Len-san,
Thank you 😉
moto