Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi,
I am working on TMS320F28377D SCI A .IN one of the use baud setting needs to change .Initial Baud is set to 9600.
SciaRegs.SCIHBAUD.bit.BAUD = 43U; // config9600 bps
SciaRegs.SCILBAUD.bit.BAUD = 139U;
while the code is running this baud rate needs to be changed to 38400
So code updated as :
EALLOW; //allowinsertion
SciaRegs.SCICTL1.bit.SWRESET = 0;
SciaRegs.SCIHBAUD.bit.BAUD = 2U; // config 38400 bps
SciaRegs.SCILBAUD.bit.BAUD = 138U;
SciaRegs.SCICTL1.bit.SWRESET = 1;
EDIS;//disableinsertion
I observed SCIA register it is changing for few sec and again goes back to 9600 baud ,default setting for SCIA.
please assist