Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to control a GSM mobile phone via F Bus connection.

Status
Not open for further replies.

JohnJohn20

Advanced Member level 4
Joined
Feb 2, 2012
Messages
111
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,377
Hi. I would like to use a PIC to control a GSM mobile phone to send an SMS via the F Bus connection. I am OK with the PIC control but not so with setting up the serial data transfer between the PIC and the phone.

The article Nokia F-Bus Protocol (at **broken link removed**) gives some good information but as a beginner I need to check my understanding. Please let me know if I have this straight.

There are 4 connections on the back of the phone: MBUS, RX, TX and GND. F-Bus protocol uses the TX and RX pins as a full-duplex bus at 115,200bps, 8 data bits, no parity, one stop bit.

1. Can I use a PIC (via opto couplers) to:
- Switch the RX pin to +3.3V and ground to transmit to the phone? and
- Detect the incoming pulses at the TX pin to receive data from the phone?

2. Is the process for sending data to the phone as follows:
- While the RX pin is held high no data is transmitted.
- Then make the RX pin low for 1 period (1/115,200 seconds) to signal to the phone that data is coming.
- Then make the RX pin high or low for 8 periods (according to the 8 bit word I want to transmit to the phone).
- And then make the RX pin go high for 1 period (or longer) to signal end of transmission.

3. The article also says the first thing to do is "synchronize the UART in the phone with your PIC" by sending a string of 0x55 or 'U' 128 times.
To do this do I send binary '01010101' 128 times as described above?

4. Does this "synchronization" synchronize the phone with PIC transmission frequency or does the transmission frequency need to be very close to 115.200 kHz? I would like to use a lower frequency of about 32 kHz.

Thank you for your time.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top