LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

lm3s8962 - RS232 communication

 

Hello,

 

I would like to communicate with the LM3S8962 through RS232 interface, and not using the USB.

 

How can that be done, I saw there is a U1RX and U1TX on board, is this the UART interface noted in the manual? how do I communicate with it?

 

I would appreciate any help in this matter.

 

Best Regards,

Gil.

 

0 Kudos
Message 1 of 4
(7,584 Views)

Yes, those are UART pins (actualy there is a schematic in the user manual).To interface UART pins to RS232 levels (e.g. to communicate with an old PC COM port) you just need an interface driver (Texas Instruments, Intersil, Maxim).

 

Choosing an IC from those tables is a simple task:
- single supply (3-5V or 3.3V)
- 1 transmiter/1 receiver per UART
- baudrate imposed by application requirements

0 Kudos
Message 2 of 4
(7,582 Views)

Thanks for the replay.

1. Should I use the "Visa" modules for actually interfacing the port?

2. How do I select which UART to use (0 or 1) and how I should configure it.

3. Can the 0 port be used while connected to the USB (for power supply) ?

 

Best Regards,

Gil

0 Kudos
Message 3 of 4
(7,565 Views)


1. Should I use the "Visa" modules for actually interfacing the port?
VISA cannot be used on embedded targets (the palete is missing anyway)

 


2. How do I select which UART to use (0 or 1) and how I should configure it.

 

Use Instrument I/O -> Serial Compatibility VIs

 

use UART with Instrument IO_Serial Compatibility.png

 

3. Can the 0 port be used while connected to the USB (for power supply) ?

I don't understand why to supply the board through USB and not use Virtual COM Port created.

However, if you don't like VCP and want UART0 connected to a RS-232 interface then you have to remove jumpers JP1 and JP2 (they are not actually jumpers http://forums.ni.com/ni/board/message?board.id=420&thread.id=1472).

 

0 Kudos
Message 4 of 4
(7,556 Views)