09-06-2009 10:17 AM
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.
09-06-2009 12:46 PM
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
09-07-2009 04:22 AM
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
09-07-2009 06:32 AM
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
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).