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.

TMS320F28069: Cannot modify sci registers

Part Number: TMS320F28069


Hi,

I'm using the Sci and I can't access to any register.

void ScibBusConfig() {

ScibRegs.SCICCR.all = 0x0007;

ScibRegs.SCICTL1.all = 0x0003;

ScibRegs.SCICTL2.bit.TXINTENA = 1;
ScibRegs.SCICTL2.bit.RXBKINTENA = 1;

ScibRegs.SCIHBAUD = 0x0000;
ScibRegs.SCILBAUD = 0x0018;

ScibRegs.SCIFFTX.all = 0xC020;

ScibRegs.SCIFFRX.all = 0x0021;
ScibRegs.SCIFFCT.all = 0x00;

ScibRegs.SCICTL1.all = 0x0023;
ScibRegs.SCIFFTX.bit.TXFIFOXRESET = 1;
ScibRegs.SCIFFRX.bit.RXFIFORESET = 1;

EALLOW;
PieVectTable.SCIRXINTA = &scibRxFifoIsr;
PieVectTable.SCITXINTA = &scibTxFifoIsr;
EDIS;

PieCtrlRegs.PIECTRL.bit. ENPIE = 1;
IER = 0x100;
EINT;

}

This function is the one I'm using but it doesn't work neither the first row (ScibRegs.SCICCR.all = 0x0007) and I can't modify manually.

I also searched to modify it in memory browser