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: TDA4VM: TP45 testpoint voltage is always 0v

Part Number: TDA4VM


Tool/software:

Hardware: TDA4VM

SDK: 0806

Boot mode : SPL

Test 1: I configured the TP45 level to high on MCU1_0 of vision_apps according to the following code, but the TP45 voltage measured with a multimeter is always 0

Test 2: I did not load the ATF of the A core in the SPL of the MCU and executed the following code at the same time, but I still could not pull up TP45.

#define WKUP_PADCONFIG     50

#define M4_PINMUX_VALUE(_rxActive, _pullType, _pull, _mux)  ((_rxActive << 18) | (_pullType << 17) | (_pull << 16) | (_mux << 0))

#define M4_WKUP_PADCONFIG   0x4301C000

#define M4_RX_ACTIVE        1
#define M4_RX_INACTIVE      0

#define M4_PULL_DOWN        0
#define M4_PULL_UP          1

#define M4_PULL_ENABLED     0
#define M4_PULL_DISABLED    1

#define M4_MUX_MODE_0   0x0
#define M4_MUX_MODE_1   0x1
#define M4_MUX_MODE_7   0x7   // ---> MUX MODE 7 to configure the PIN as GPIO

volatile uint32_t *LOCK7_KICK0  = (uint32_t *) 0x4301d008;
uint32_t * padconfig = (uint32_t *) M4_WKUP_PADCONFIG;
volatile uint32_t * dir01 = (uint32_t *) 0x42110010;
volatile uint32_t * outData01 = (uint32_t *) 0x42110014;

void set_tp45(void)
{
    //unlock ctrl mmr
    LOCK7_KICK0[0] = 0x68EF3490;
    LOCK7_KICK0[1] = 0xD172BC5A;

    // configure GPIO pad, write to ctrl mmr
    padconfig[WKUP_PADCONFIG] = M4_PINMUX_VALUE(M4_RX_INACTIVE, M4_PULL_UP, M4_PULL_DISABLED, M4_MUX_MODE_7);

    // set as output
    *dir01 &= 0xffff0000; 

	// set high
    *outData01 |= 0x0000ffff; 
}