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.

TMS320F280039: CLA accessing 16-bit odd address

Part Number: TMS320F280039

Tool/software:

Hi Experts,

My customer is accessing a 16-bit odd address in CLA, they found using below two methods can yield different results:

uint16_t x = *(uin16_t *)(0x00000B00U+1); // return correct value
uint16_t x = HWREGH(ADCARESULT_BASE+1);   // return value of previous even address

The TRM mentioned accessing 32-bit address may have the above behavior, but these are 16-bit access,

Could you please help explaining it/

Regards,

Hang