Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello!
i have a problem with receiving data through sci module. I am printing 8 bytes of data through sci at a rate of 10ms (using rti).i am using putty to view my data.i am also using the polling method to see whether there is any new 8 byte data entered through serial monitor using sciIsRxReady in if condition,all inside the while loop.On entering the if condition i am using sci receive to extract 8 bytes of data and the new data is printed in rti interrupt at 10ms rate.Unfortunately i am unable to do so.Only the initial value i assign to the variable is getting printed on putty at a rate of 10ms(rti) but when i try to take an input of 8byte data through sciIsRxReady(in while loop) im unable to receive any data. Please help .
Does sciIsRxReady return value 1 when it receives one byte of data or when it receives data through serial monitor irrespective of the length of the data obtained??