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.

[FAQ] TDA4VE-Q1: Ways to read Control registers of C7x on application

Part Number: TDA4VE-Q1


Tool/software:

How can we read Control registers of c7x from an application. Including registers such as IEAR and IERR to monitor error.

  • Hi,

    To read Control registers from an application C register is the recommended method.

    Steps:

    1. Declare the control register as global as given below

    extern __cregister volatile unsigned long __IEAR;

    2. __IEAR register could be read/modified like any other variable

    Regards,

    Manojna