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.

Cannot write to SCI registers.

Other Parts Discussed in Thread: CONTROLSUITE

I have been trying to write to the SCI-A registers and am not able to do so.  I have tried both programmatically and via the the CC V5 GUI. 

I am using the Bit Field and Register-File Structure approach mentioned the app report SPRAA85C. I can go to memory the register are where I expect them, they also are configured as documented with values after reset.

Here is what I have tried:

  • via software

    SciaRegs.SCICCR.bit.PARITYENA = 1;        /* enable parity bit */
    SciaRegs.SCICCR.bit.PARITY = 0;                /* odd parity */
    SciaRegs.SCICCR.bit.SCICHAR = 0x7;       /* 8-bit character length */
    SciaRegs.SCICCR.bit.STOPBITS = 0;          /* 1 stop bit */

  • with CC GUI
    1. opening register view, clicking on the value column of SCICCR register and writing a new value.  The register is always 0x0000
    2. Opening a memory browser and going  to memory location 0x7050 in data space and modifying the value to something other than 0x000. Always reads back 0x0000.

It appears the register are read-only for some reason.

Any help would be appreciated.

Thanks.