i have connected the RS232 pin as TX-RX AND RX-TX AND ALSO THE GROUND. I am using ARM micro controller. I am not able to receive data from mobile to the micro controller.please help in interfacing modem with the microcontroller.
1. check modem with hyperterminal
2. write UARt prg to check tx and rx functionality of UART in your controller
3. Interface modem to UART0 of controller and program for uart0
4. even if it does not work post your code here
i have connected the RS232 pin as TX-RX AND RX-TX AND ALSO THE GROUND. I am using ARM micro controller. I am not able to receive data from mobile to the micro controller.please help in interfacing modem with the microcontroller.
i am using the Pulraj gsm modem.
the modem is working properly if we connect it to the hyper terminal. when i interface the modem to the micro controller, i can't get the signal from the modem to the micro controller, but i am able to pass command from the micro controller to the gsm modem.(like sending message via RxTx, TxRx connection and GND ). the code is working properly if we enter gsm data via hyper terminal
Is it the same cable you are using to connect GSM and PC for testing. And is it the same cable used to connect GSM and micro. Check some modems use cross cable like wavecom. check and update back. If it is same cable then your coding mistake. check the hardware cable connection, if it is correct then post your code.
Maintain same connection between controller and GSM as you do for testing PC and GSM.
---------- Post added at 21:48 ---------- Previous post was at 21:44 ----------
Some modem need cross cable and some use straight. Like simcom use cross and wavecom uses straight, their internal track wiring are a bit different. Wavecom serial cable connection is different with respect to 2, 3 compared to available serial cable