2013-05-02 10:16 AM
2013-05-02 10:21 AM
Is there are question in there somewhere?
I'd recommend front testing for TXE, not back testing for TC which is woefully inefficient, and doesn't protect the data register properly.2013-05-02 10:30 AM
thank you foe ur reply ...
I was truing to use both the USART2 and USART3 but I couldnt ... I dont know where it is wrong . can u please help me ???2013-05-02 10:37 AM
this program is working fine ...
but not the other program ...:(2013-05-02 10:43 AM
Can't use it how? Have you put a scope on it? Does USART1 work on a terminal?
Do you have some odd crystal on the board? Is this reflected in the HSE_VALUE defined value? Suggest you start with a simple test of continuously sending a character, and confirming that on a scope for timing. Double post [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/USART2%20problem%206196&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/AllItems.aspx¤tviews=1]Here2013-05-02 10:56 AM
2013-05-02 01:53 PM
I wanted to write a program for gsm interface to stm32 discovery...
controlling home appliances by SMS , can you suggest me how can I do it .. I want to use UART1, UART2, UART3 AS RX/TX serial ports. 5 leds connected to stm board should be controlled by text msg.2013-05-02 03:56 PM
I wanted to write a program for gsm interface to stm32 discovery... controlling home appliances by SMS , can you suggest me how can I do it ..
You'll have to become familiar with the AT command set of your modem. Sending commands, interpreting responses, etc. This is somewhat beyond the scope of my forum participation. You should be able to do it with linear flowing code, or a state machine type implementation. It is important to wait for the modem to respond, and have command/network appropriate timeout and recovery handling.2013-05-03 02:07 AM
2013-05-03 02:13 AM
by st.com, I got only user manual. where can I find other files like..
Application layer (gsm_appli.c)
SMS library (sms.c,atcommands.h)
STM32 USART library (stm32f10x_usart.c)
GSM stack (GSM module)
The files are organized in the following directory structure:
Application: (user app
lication layer files)
–main.c
– gsm_appli.c
– stm32f10x_it.c
– stm32f10x_vector.c
– gsm_appli.h
– stm32f10x_conf.h
– stm32f10x_it.h
SMS library
–sms.c
–sms.h
– atcommands.h
Library: the STM3210E-EVAL library
If u have any idea where I can get these files please inform me thank you :) thank you.