Other Parts Discussed in Thread: CONTROLSUITE
Hi all,
I have TMS320C2000 PLC kit and now I'm trying to understand the phy_tx_rx example project. In this task, I would like to know how to tx and rx by both uarts (the uart by the usb cable and the uart by rs232). I mean I would like firstly to forget the PLC part and to ensure that I know how to use uart functions; for this purpose I need to modify the phy_tx_rx project, for example, to receive bytes from any uart and transmit them back by the same uart.
When I know how to do uart tx and rx, I´ll try to link PLC tx/rx with uart tx/rx (For example, to transmit the data received from PLC to the hyperterminal by the uart).
Resuming, I need an example code for the F2806x (or compatible) to transmit and receive by uart. I only have the uart.h included with the PrimeDevelopmentPackageV60013; in this file I can see the functions headers, but I don´t know how to use them. I'd have a look into the F2806x_examples folder of the controlSUITE, but I can´t find a project with uart code (I think it is necessary to configure and initialize uart, etc...).
Anyway I'll continue searching into this examples while somebody answers this question.
Many thanks in advance for your help.
Cristóbal.