- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to set GPIOs to HIGH-Z state during Hibernate Mode?
If yes, how can I do this?
I supposed setting 'Freeze' bit in PWR_HIBERNATE register to 0 leads to non frozen GPIOs, but there was no effect. In configuration tool, I have selection 'McuHibernateFreezeIoEnable'.
But outputs are frozen in Hibernate Mode, even though option is deselected.
In CYT2B9 Datasheet I found in chapter 3.2.6 Power Modes:
....
■ Hibernate – The device and I/Os are in High-Z state and the
device resets on wakeup
- Labels:
-
Automotive Traveo_II
- Tags:
- cyt2b9xx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
PWR_HIBERNATE.UNLOCK byte must be set to 0x3A for FREEZE or HIBERNATE fields of the same register to operate.
Did you write 0x3A to UNLOCK filed before writing to FREEZE bit?
Thanks,
Kavya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kavya
yes I set PWR_HIBERNATE.UNLOCK byte to 0x3A.
Register PWR_HIBERNATE is written 3 times subsequentielly:
First write with content 0x02003AFF
second write with same content 0x02003AFF and
third write with content 0x82003AFF.
After that, a dummy read of this register is executed.
Best regards
Iris