This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR5994: Suspending LEA operation

Part Number: MSP430FR5994


Hi,

in the LEA (low energy accelerator) training videos, it says "LEA is also capable of being suspended to service a higher priority task, and the application could then resume the LEA operation"

https://training.ti.com/what-low-energy-accelerator-lea-peripheral?cu=1127869

how can we 'suspend' and 'resume' LEA operation ? is this functionality built into DSPlib library ?

thanks

Rosh

  • Hi Rosh,

    While LEA can have the capability to do it, direct access to LEA registers is not supported, and unfortunately, DSPLib doesn't have a way to suspend a LEA operation.

    Now, DSPLib functions are implemented in a blocking way in which the CPU goes to sleep during the operation, but your CPU can keep attending other interrupts or you might be able to customize the code as explained in this thread.

    Regards,

    Luis R

  • Hi Luis,

    Is there any chance in the future that TI will update the current version of DSPLib to match the other features offered by the LEA hardware ?

    it seems strange that a LEA_SUSPEND/LEA_RESUME operation is available in the H/W but the API is lacking (for a long time now).

    thanks

    Rosh

  • Hi Rosh,

    I will submit the request.

    In the meantime, can you provide any comments about your use-case for this functionality? Although I understand that it might be useful, we haven't seen cases where this is a critical requirement, especially since the CPU can still run in parallel.

    Regards,

    Luis R

  • simple use-cases for suspend-resume :

    * if a design requires putting LEA to deep sleep mid-way an operation, say when power is low and want to wait until sufficient energy is available to resume

    * as the LEA training video mentioned - to serve high-priority LEA tasks (assuming multi-tasking)

  • Much appreciated.

    I have submitted the request to our Software team.

    Regards,

    Luis Reynoso

**Attention** This is a public forum