How can I realize sci data communication in uC/OS-II?

How can I realize sci data communication in uC/OS-II?

Home Forums USB Device & Host How can I realize sci data communication in uC/OS-II?

This topic contains 1 reply, has 2 voices, and was last updated by  Farukh Chaudhry 3 weeks, 6 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26421

    GeunHa You
    Participant

    Hello

    I have a question about UART communication,

    I’m using uC/OS-II as OS, CP2012 USB To TTL Serial(RS232 converter) for communication.

    IDE is CCS v6

    I want to send and receive data on windows hyper terminal.

    I tried testing sci echoback example project (Example_2833xSci_Echoback) and succeeded.

    How can I realize sci data communication in uC/OS-II?

    #26454

    Farukh Chaudhry
    Participant

    Hello GeunHa You,

    You will have to write a simple task that transmits data to the UART. Using uC/OS-II, you can use the timer feature to send characters every second. Do the same for receive function also, this can be interrupt driven using the uC/OS-II task message queue feature to send a message to the receive SCI task. It’s best look at the uC/OS-II example project code to understand how the RTOS works with your application.

    Regards,

    FC

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

View the complete site map

x
Loading...