cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4Discovery / RS232 CABLE

khaled3310
Associate II
Posted on January 29, 2012 at 22:03

Hi

I'm a new STM32 user . I'm wondering how to send data from the computer to the stm board

using the RS232 cable .

2 REPLIES 2
raptorhal2
Lead
Posted on January 29, 2012 at 23:08

The voltage levels on a PC's RS232 connector are incompatible with the stm32 USART pins, so you will need in interface with something like a MAX 2332 transceiver, or an adapter cable with something equivalent.

A terminal emulation program on the PC can be used to generate characters to send to the RS232 cable. You then need to code a USART handler for the stm to receive and process the information.

This is a very general overview answer. Provide more details on what you are trying to do, and perhaps more specific help can be provided.

There are also discussions on this forum and the STM32 forum on USB and RS-232 communications that may provide additional insight.

Cheers, Hal

khaled3310
Associate II
Posted on January 31, 2012 at 22:29

Ok

thank you very much

sir

I'll

see what

can I do.