FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2015 Threads]
I have code running on custom hardware using a EFM32GG arm device, and while attempting to use tickless , coupled with EM2 to achieve max current saving I've come across a problem when returning from EM2 sleep.
As part of the main loop a simple on/off led toggling with delay is used, a running counter is incremented and output via serial port running at 57600. After return from EM2 the first two or three bytes of the serial message are corrupt, but following bytes are correct.
The code for EM2 does a restore to the main HF clock which in this case is a 16MHz external XTAL.
It still looks like it could be a clock speed issue, any thoughts?
The EFM parts wake from sleep very quickly by temporarily running on a slower clock instead of waiting for the PLL to lock. Sounds like that could be your issue.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.