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.

Reading ADC Gain Factor and ADC Offset from TLV structure

Hello all, i'm using the evaluation board  for the MSP432P401R Rev 2.0 (the red one). 

I'm having trouble reading these values from the TLV structure.

I'm using the CMSIS api with:

uint32_t gain_ADC = TLV->ADC_GAIN_FACTOR;

int32_t offset_ADC = TLV->ADC_OFFSET;

But they always read as 0xFFFFFFFF.

I've tried also with my code (I got the address value from page 178 of the datasheet revision D)

uint32_t* ptr_gain = ((uint32_t *)0x00201094);

gain_ADC = *ptr_gain;

uint32_t* ptr_offset = ((uint32_t *)0x002010D8);

offset_ADC = *ptr_offset;

But they read as 0xFFFFFFFF again.

I need some help here from TI personnel, or someone who could read the correct values of these settings.

Thanks!

**Attention** This is a public forum