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.

TMS320F280040C-Q1: Fail to send a non const string trough SCI

Part Number: TMS320F280040C-Q1

Hi, 

I trying to send an uint16_t array trough SCI and I using the function: void SCI_writeCharArray(uint32_t base, const uint16_t *const array,uint16_t length) from driverlib but the problem is that only send data with the attribute const. Inside the write function there is this line: 

HWREGH(base + SCI_O_TXBUF) = array[i];
Of course, I trayed remove the const attributes in the function to pass addresses that are not have const elements, but the function does not work.
Someone knows if there is a restriction to write a const in the register? or any idea of what could be happening?
Thanks.