Part Number: TMS320F28027
Other Parts Discussed in Thread: CONTROLSUITE
This is for a school project. I am trying to received data from SCI. I am using controlSUITE V230 API based examples.
if(SCI_getRxFifoStatus(mySci) != SCI_FifoStatus_Empty)
{
uint16_t ReceivedChars [4];
uint16_t i = 0;
while(SCI_getRxFifoStatus(mySci) != SCI_FifoStatus_Empty){
ReceivedChars[i++] = SCI_getData(mySci);
}
}
By observing ReceivedChars with the debugger the values returned are inconsistent. I know that the terminating character will cause problems but I expect the first character to be the one sent through serial.