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.

UART communication

Other Parts Discussed in Thread: HALCOGEN

UART communication
I need to use UART communication to receive 32 bit integer from a certain device.
I am currently studying on how to use UART communication feature on Hercules safety kit.
I followed a guide about UART communication using SCI.
But, when i debugged the program, there's an error when i used function sciReceive(scilinREG, 1, (uint8 *)&angka)
The error message is "scilinREG is undefined".

And yes, I used halcogen to generate my codes.
Does anyone know the solution to this problem?

This is the link the the guide that I use :
www.youtube.com/watch
The only difference is the device I use. Then guide used TMS570LS31x. I used TMS570LS20216SZWT.

This is the link to the code I am using :

http://s000.tinyupload.com/?file_id=03472594402392244624

It should be the same with the code in the video.

Thank you,

David