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