I hope this message finds you well.
I am doing SCI communication in between TMS320F28335 device and TMS320F28069 device where both are connected through RS232 converter.
Hardware Connection is like:
28335 tx to RS232 converter tx to (connected DB9 connecter) to DB9 connecter tx to DB9 connecter rx to RS232 rx to TMS320F28069 rx
28335 rx to RS232 converter rx to (connected DB9 connecter) to DB9 connecter rx to DB9 connecter tx to RS232 tx to TMS320F28069 tx
I configured as below
ScibRegs.SCICCR.all = 0x0027;
ScibRegs.SCICTL1.all = 0x0067;
ScibRegs.SCICTL2.all = 0x0003;
ScibRegs.SCIHBAUD = 0x0000;
ScibRegs.SCILBAUD = 0x0079; (baud rate for 28335)
(ScibRegs.SCILBAUD = 0x0048; (baud rate for 28069))
ScibRegs.SCIFFTX.all = 0xE040;
ScibRegs.SCIFFRX.all = 0x0064;
GpioCtrlRegs.GPAQSEL2.bit.GPIO19 = 3;
GpioCtrlRegs.GPAMUX2.bit.GPIO18 = 2;
GpioCtrlRegs.GPAMUX2.bit.GPIO19 = 2;
by using an ARRAY I am trying to transmit data to 28069 from 28335
during this time data which is getting received in 28069 -- data is getting repeated or some data is missing.
I tried by giving delay before calling tx and rx functions both sides.
Eg: transmitted data is
AA, AB, AC
Received data is being
AA, AA , AB, AC or AA, AC or AA, AC , AB , AB
Please help how to receive data properly with any missing or repeating of data.