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.

TDA4VM: How to catch WFI/WFE mode?

Part Number: TDA4VM

Hi,

  Our company wants to develop programs on the TDA4 board, and the development environment is QNX+RTOS.

  We want to judge whether arm enters WFI or WFE mode in the program. 

  Is there any way to judge whether arm enters WFI or WFE mode?

  Thank you!

  • Hi,

    I'm sure there are multiple ways to do it.   

    One possibility is hooking up the CCS debugger using the built-in XDS110 on the EVM, and connecting to the 2nd A72 core. 

    On a system that has low usage the 2nd A72 is likely to be idle. 

    In this case when viewing the program counter in the dis-assembly view, the WFI can be seen.

    Regards,

    kb