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.

SCI Code

Other Parts Discussed in Thread: CONTROLSUITE

hi,

 i am presently enabling the Serial Communication. i have fulfilled all function but i am not getting transmission and receiving. please correct my code.

i follwed this link

for serial communication. and i called the functions like 

SCI_write(sci, 0X55);
SCI_putDataBlocking(obj->sciHandle, 0X55);

and i got undefined sci and undefined obj. so i have write

 SCI_Obj *sci = (SCI_Obj *)sciHandle;

in the top to remove error. is this approach is correct. how to send the data through SCi, which function i have to call?

  • Pattan,

                    Do you have ControlSuite installed? It has many helpful examples that should get you going quickly! If you go to “your controlSuite install location \\development_kits\C2000_LaunchPad\f2802x_examples\sci_echoback” there is an example that shows how to correctly use the “SCI_write” function.

    Let me know if you have any other questions.

    Regards,
    Cody