- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hello,
i am trying to implement an adc using an sleep mode plea@se let me know how to know that d2000 has entered in sleep mode.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Chiranth,
According to the Intel Quark Microcontroller Software Interface document, which you can see here https://downloadcenter.intel.com/download/25619 https://downloadcenter.intel.com/download/25619, in sleep mode "the hybrid oscillator is disabled, most peripherals are disabled and the voltage regulator is set into retention mode. The following peripherals are disabled in this mode: I2C, SPI, GPIO debugging, Watchdog timer, PWM/Timers, UART". So you can use one of these interfaces to check if the SoC has entered Sleep mode.
An easier way would be to run a Blink example, this way you'll know if the SoC has entered Sleep mode by the activity of the LED (or the lack of it).
Regards,
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Will all the GPIO pins go to low state in Sleep mode i.e. will the LED turn off in sleep mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Do we need an active RTC for the sleep and wake-up mode to work??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Chiranth,
I believe that not all GPIO pins will enter Sleep mode, according to the documentation the GPIO pins that enter Sleep mode are the ones for debugging. My suggestion about the Blink program was just an idea to test it, but preferably, it would be a better idea to use any of the other peripherals like UART to detect if the SoC entered Sleep mode. Just start a communication using the UART interface and check when it stops.
Regarding your second question, this is what the same document says: "… the following peripherals may bring the SoC back into an active state: GPIO interrupts, AON timers, RTC, Low power comparators", so you can use an RTC to wake up from the Sleep mode if this is what you want, but you can also use one of the other options.
Regards,
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Can you please let us know the procedure to wake up SoC using RTC Alarm?
is it something like, Soc Can wake up if desired time has reached?
Kindly clarify on this.
Many Thanks,
venkatarramana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Venkatarramana-Graphene,
We are working on your question, once we have a complete answer we will post it here. Thank you in advance for your patience.
Regards,
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Venkatarramana-Graphene,
I saw that you already got an answer to the RTC question in this other thread /message/396065# 396065 https://communities.intel.com/message/396065. Just to add some more information about it, here you can see the program that contains the wake up routine https://github.com/01org/qmsi/blob/master/examples/power/main.c# L41 https://github.com/01org/qmsi/blob/master/examples/power/main.c# L41. In line 49 you can see the description, "Setup the RTC to get out of sleep mode", and then some variables are defined, one of them is qm_rtc_config_t rtc_cfg. Then, as it was explained in the other thread, comes the initialization of rtc_cfg.alarm_val to QM_RTC_ALARM_SECOND (which can take some other units like minutes or hours).
Regards,
Pablo

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page