This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I'm trying to send and receive data simultaneously through sci module. For some reason the example given here(training.ti.com/hercules-how-tutorial-using-sci-uart-communication) doesn't work properly on my TMS570LC4357. The sciNotification(sciBASE_t *sci, unsigned flags) function isn't being called when I receive data. Is there any help that you can offer to solve this by pointing me to some guide or example which shows how we can read and write data serially through sci modules with rx interrupt.
HALCoGen config:
driver enable: enabled sci2
sci2 Global: enabled RX high level interrupt
VIM channel Lin1: 13 enabled (IQR)
Hello Miro,
I've went through all the threads you've attached and even tried the same project you had attached but still there was no improvement. sciNotification() for sciREG3 was never being called when I send data through Command Input Field on CCS. With the RX interrupt enabled, the data was not even being received by the sciReceive() that is outside the sciNotification. Only when i disable the RX interrupt, the sciReceive() is working. The program just keeps looping inside while(1) in main() and just keeps printing in serial port.
Even though I can receive and send alternatively w/o interrupt(in which sciReceive() waits till i get data), my application requires an interrupt on the receive line.
I've attacehed my whole project if it might help you.
https://drive.google.com/open?id=1z90tUXBrQlLIkoZKe0RPHR4NqDiOTNkd