LPC55S69 freertos_tickless example not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC55S69 freertos_tickless example not working

3,999 次查看
chetferry
Contributor II

I am trying to run the freertos_tickless demo on the LPC55S69 board.  The processor is drawing 7.15 mA of current while the demo is running.  So I think something is not right.  I was assuming this demo is supposed to put the processor to sleep?  I am measuring the current with a Fluke 189 meter with the leads connecting the pins on P12 and R91 removed.  I am quite certain I am correctly measuring the current to just the processor.  Am I doing something wrong?  Thanks.

0 项奖励
回复
2 回复数

3,953 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Chet,

If you want to measure the current of the LPC55S69 on board, I suggest you run the example code "power_manage_lpc" example, because the LPC55S69 remains low power mode for a long time so that you have enough time  to measure. In the example, it wakes up by either by pressing a hardware button or a long time RTC waking up interrupt.

The freertos_tickless example enters/exits low power mode frequently, it is difficult to get the correct aperture to measure the current in low power mode by a current meter.

Hope it can help you

BR

XiangJun Rong

pastedImage_1.png

0 项奖励
回复

3,953 次查看
ErichStyger
Specialist I

Hi Chet,

no, tickless idle does exactly what the name says: it uses no ticks during idle.

See Low Power with FreeRTOS: Tickless Idle Mode | MCU on Eclipse  for the technical implementation and details.

So it reduces the tick frequency so you get less interrupts and you can stay lower in low power mode (if you are entering low power). How much you will save depends on your tick frequency and application load, but you already should see some little savings if you go into WFI mode.

I hope this helps,

Erich

0 项奖励
回复