Other Parts Discussed in Thread: C2000WARE, MSP430FR4133
Tool/software:
Hello everyone,
I am new to TI microcontrollers, and I was trying to figure out the SCI/UART communication. I programmed my TMS320F28379D using CCS. I am using SCIB Pin 18 and 19.
I have attached the code for your reference. The problem I am having is that when I check the waveform on oscilloscope, it looks correct, yet the 8 bit data gets split into two and shows two different values.
In this image I am transmitting 0xAA, yet on the oscilloscope two different data value is shown.
I tried the example code for SCI, but I was unable to get the desired output.
What is the problem here?
Thanks and regards,
Jidnyesh Jagtap

#include "driverlib.h"
#include "device.h"
void main(void)
{
Device_init();
Device_initGPIO();
GPIO_setPinConfig(GPIO_18_SCITXDB);
GPIO_setPinConfig(GPIO_19_SCIRXDB);
GPIO_setDirectionMode(18, GPIO_DIR_MODE_OUT);
GPIO_setDirectionMode(19, GPIO_DIR_MODE_IN);
GPIO_setPadConfig(18, GPIO_PIN_TYPE_STD);
GPIO_setPadConfig(19, GPIO_PIN_TYPE_STD);
GPIO_setPinConfig(GPIO_10_GPIO10);
GPIO_setDirectionMode(10, GPIO_DIR_MODE_OUT);
GPIO_writePin(10, 0);
SCI_performSoftwareReset(SCIB_BASE);
SCI_setConfig(SCIB_BASE, DEVICE_LSPCLK_FREQ, 9600,
(SCI_CONFIG_WLEN_8 | SCI_CONFIG_STOP_ONE | SCI_CONFIG_PAR_NONE));
SCI_enableModule(SCIB_BASE);
SCI_enableFIFO(SCIB_BASE);
SCI_resetChannels(SCIB_BASE);
SCI_enableLoopback(SCIB_BASE);
while (1)
{
GPIO_togglePin(10);
SCI_writeCharBlockingFIFO(SCIB_BASE, 0xAA);
DEVICE_DELAY_US(500000);
}
}
