1
Discussion - EVE / Modifying ESD project to work in low power environment with RTOS
« on: November 16, 2022, 11:23:56 AM »
Hi everybody
I'm trying to use a BT816 chip with ESD in a project. The device will be battery powered, so enabling the processor to go to low power modes would be very useful. Unfortunately, it seems like the ESD output is not written with that in mind: http://www.brtcommunity.com/index.php?topic=394.
In this thread a user alluded to the possibility of modifying the generated output to work with RTOS event loop. Did anybody do that? Is there an example I can follow?
What I have tried
I have got both the EvChargePoint demo and the TIM2 interrupt clock running on a Nucleo-STM32L476RG. I do understand the porting process. I'm getting stuck at how to enable the screen task communicate with my button handler, monitoring thread (temperature, voltages, current, charger status) and communications handler.
What I need to do
I need to update the screen when buttons are pushed, when the temperature/voltage/current/charge changes state and when I receive messages. Animations are not out of the question. I do not need any touch screen functionality for now. The product will be used in a -20C freezer room, so it has a perspex plate over the screen and is in an IP67 enclosure. Touch isn't viable/practical.
What is my best option? I have looked at ESE as well, but the widgets from ESD just look easier to get to look good.
I'm trying to use a BT816 chip with ESD in a project. The device will be battery powered, so enabling the processor to go to low power modes would be very useful. Unfortunately, it seems like the ESD output is not written with that in mind: http://www.brtcommunity.com/index.php?topic=394.
In this thread a user alluded to the possibility of modifying the generated output to work with RTOS event loop. Did anybody do that? Is there an example I can follow?
What I have tried
I have got both the EvChargePoint demo and the TIM2 interrupt clock running on a Nucleo-STM32L476RG. I do understand the porting process. I'm getting stuck at how to enable the screen task communicate with my button handler, monitoring thread (temperature, voltages, current, charger status) and communications handler.
What I need to do
I need to update the screen when buttons are pushed, when the temperature/voltage/current/charge changes state and when I receive messages. Animations are not out of the question. I do not need any touch screen functionality for now. The product will be used in a -20C freezer room, so it has a perspex plate over the screen and is in an IP67 enclosure. Touch isn't viable/practical.
What is my best option? I have looked at ESE as well, but the widgets from ESD just look easier to get to look good.