Part Number: TMS320F28377S
Hi,
I have the following problem:
I don't get the correct values from the ADC result register inside the CLA
Code from CLA:
uintptr_t* resAddrB;
uintptr_t* resAddrD;
resAddrB = (uint16_t *)(ADCB_BASE + ADC_O_RESULT1);
resAddrD = (uint16_t *)(ADCD_BASE + ADC_O_RESULT1);
CLA_DEBUG[0]=*resAddrB;
CLA_DEBUG[1]=*resAddrD;
DEBUG window:
CLA_DEBUG long[2] [198,198] 0x000014D4@Data
[0] long 198 0x000014D4@Data
[1] long 198 0x000014D6@Data
GRP( AdcbResultRegs ).REG( ADCRESULT1 ) Unsigned / Readable,Writeable 23272 (Decimal)
GRP( AdcdResultRegs ).REG( ADCRESULT1 ) Unsigned / Readable,Writeable 22032 (Decimal)
So any suggestion how to solve it?
Thanks,
EVS