TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Evaluation Board --> RS 232 cable --> Wifi module
I'm working on a project with my lm3s9b92 evaluation board and I'm trying to send data from the ADC to this wifi module:
I am sending 10 bit integer values via UART, and I can see them printed in the terminal window. Now I want to send the values to a wifi module, connect to the module on my laptop and read the values from the module.
I don't know what pins on my lm3s9b92 evaluation board I need to connect to an RS232 lead to connect to the wifi module.
Can anyone help??
Thanks so much in advance!
Do read the LM3S9B92 processor datasheet regarding UART
then cross-reference that to your LM3S9B92 Evaluation kit Users Manual
There are GPIO pads where you can interface rs232 e.g GPIO pads PA0 and PA1, whose
alternate function is UART0 of your processor chip
Thanks for response!
Yes I see that.
So - to which rs232 pins: http://www.aggsoft.com/rs232-pinout-cable/images/9-pinout.gif
do I connect PA0 and PA1 on my eval board?
And what happens to the other pins in an rs232 cable?
From your device datasheet table under 1.5.2 Serial Interface, it says there that RXD, TXD, and GND are mandatory. These are the basic signal lines needed for RS232 unless you are going to implement hardware flow control.
Here below is a basic illustration on how to connect 2 device communicating through RS232
RX <----- TX
TX -----> RX
GND ----- GND
PA0/U0RX and PA1/U1RX of the LM3S9B92 evaluation kit still needs to be interfaced to an RS232 driver chip.
Do read topics in the internet regarding interfacing serial port (rs232) to a microcontroller.
Now trying to send a hex command - aa 80 00 03 a4 01 03 1f 00 00 00 00 00 00, to WiFi module.
Using UARTprintf doesn't seem to work. Not sure where to go from here.
Euan Kellock80 00 03 a4 01 03 1f 00 00 00 00 00 00
That command contains many zero bytes.
Euan KellockUsing UARTprintf doesn't seem to work
printf() works with strings; in the 'C' programming language, a zero marks the end of a string...
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.