Freescale MCF5407 SMQSRM Low Data Rate Soft Modem Quick Start Guide

Freescale MCF5407 SMQSRM Low Data Rate Soft Modem Quick Start Guide

The MCF5407 SMQSRM is a low data rate (LDR) soft modem for use with the MCF5407 ColdFire® processor. It supports data rates up to 2400 bits/second and includes support for the Data Pump in real-time software, as well as the AT command set and other protocols. The chosen development platform is the MCF5407C3 EVM, with an additional daughter card. The daughter card provides the Data Access Arrangement (CODEC and phone line interface) such as Silicon Labs Si3044.

advertisement

Assistant Bot

Need help? Our chatbot has already read the manual and is ready to assist you. Feel free to ask any questions about the device, but providing details will make the conversation more productive.

Freescale MCF5407 SMQSRM Quick Start Guide | Manualzz
Freescale Semiconductor, Inc.
Reference Manual
MCF5407SMQSRM/D
Rev. 0, 1/2003
Freescale Semiconductor, Inc...
MCF5407 Low Data
Rate Soft Modem Quick
Start Guide
This document describes how to get started working with the low data rate (LDR) Soft Modem
(with data rates up to 2400 bits / second) for the MCF5407 ColdFire® processor and is
intended for software developers implementing communications functions who use the
MCF5407.
1
Overview
The Soft Modem includes support for the Data Pump in real-time software, as well as the AT
command set and other protocols (see below). The chosen development platform is the
MCF5407C3 EVM, with an additional daughter card. The daughter card is used to provide the
Data Access Arrangement (CODEC and phone line interface) such as Silicon Labs Si3044.
This document does not contain detailed information for software developers. Refer to the
MCF5407 Low Data Rate Soft Modem (standalone version) Software Developer’s Manual for
further information for software developers.
Table 1. Recommended Reading
Order Number
Title
MCF5407ATRM/D
MCF5407 Low Data Rate Soft Modem AT Command Reference Manual
MCF5407SWRM/D
MCF5407 Low Data Rate Soft Modem Software Developer’s Reference Manual
AN2451/D
Interfacing a Low Data Rate Soft Modem to the MCF5407 Microprocessor
MCF5407UM/D
Motorola’s MCF5407 ColdFire Integrated Microprocessor User’s Manual, R0.1
M5407C3UM/AD
Motorola’s M5407C3 User’s Manual, R1.1
MCF5200PRM/AD
Motorola’s ColdFire Programmers Reference Manual, R1.0
Si3044-DS201
Silicon Laboratories Si3044 Data Sheet, R2.01
Table 2 defines the acronyms and abbreviations used in this document.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Key Features
Table 2. Acronyms and Abbreviations
Freescale Semiconductor, Inc...
Acronym
1.1
Description
AFE
Analogue Front End
ANS
Answer tone (see V.25)
BDPSK
Bi DPSK
DAA
Data Access Arrangement
DTMF
Dual Tone Multi Frequency Signaling
DCE
Data Circuit-terminating Equipment
DTE
Data Terminal Equipment
DPSK
Differential PSK
EC
Echo canceling
FSK
Frequency Shift Keying
GSTN
General Switched Telephone Network
LDR
Low data rate
PSK
Phase Shift Keying
PSTN
Public Switched Telephone Network
QAM
Quadrature Amplitude Modulation
UART
Universal asynchronous receiver / transmitter
USART
Universal synchronous/asynchronous receiver transmitter
Key Features
The LDR Soft Modem supports:
•
Table 3 lists the Data Pump Protocols implemented in the Soft Modem.
Table 3. Data Pump Protocols Supported by the Soft Modem
ITU-T
Modulation Rate
Carrier
Modulation Data Rate (bps)
Bits per Baud
Recommendation
(bauds)
Frequency (Hz)
V.22bis
V.22
V.23
V.21
2
QAM
2400
600
1200/2400
4
1200
600
1200/2400
2
1200
600
1200/2400
2
600
600
1200/2400
1
75/1200
75/1200
420/1700
1
75/600
75/600
420/1500
1
300
300
1080/1750
1
DPSK
FSK
FSK
•
ITU-T V.21, V.23, V.22 and V22bis Physical Handshake Sequences
•
ITU-T V.42 Error Correction
•
ITU-T V.42bis Data Compression
MCF5407 Low Data Rate Soft Modem Quick Start Guide
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
Related Files
•
ITU-T V.14 synchronous-to-asynchronous converter
•
AT-command set
•
Tone generation and detection
•
DTMF and Pulse dialing
•
DAA interface (Si3044 Modem Daughter Card) via the MCF5407 USART module
•
DTE interface via the MCF5407 UART module
1.2
Related Files
Freescale Semiconductor, Inc...
The following files are relevant to Soft Modem project:
3
•
main.c – entry point of the Soft Modem
•
modem.h – high level functions and main data structure definitions
•
modem.c – implementation of high level functions
•
state_machine.h – definition of state machine data structure
•
state_machine.c – implementation of main state machine
•
v21.h – definitions used by V.21 protocol
•
v21.c – initialization of V.21 data pump protocol and realization of physical handshake sequence
for V.21
•
v23.h – definitions used by V.23 protocol
•
v23.c – initialization of V.23 data pump protocol and realization of physical handshake sequence
for V.23
•
v22.h – definitions used by V.22 protocol
•
v22.c – initialization of V.22 data pump protocol and realization of physical handshake sequence
for V.22
•
v22bis.h – definitions used by V.22bis protocol
•
v22bis.c – initialization of V.22bis data pump protocol and realization of physical handshake
sequence for V.22bis
•
fsk.h – FSK data pump definitions
•
fsk.c – realization of FSK data pump
•
dpsk.h – DPSK data pump definitions
•
dpsk.c – realization of 2,4-DPSK data pump
•
qam.h – QAM data pump definitions
•
qam.c – realization of 4,16-QAM data pump
•
v14.h – definitions used by V.14 protocol
•
v14.c – realization of V.14 data handler
•
V42.h – definitions used by V.42 protocol
•
V42.c – realization of V.42 protocol
•
V42bis.h – definitions used by V.42bis protocol
•
V42bis.c – realization of V.42bis protocol
•
V8.h – definitions used by V.8 protocol
MCF5407 Low Data Rate Soft Modem Quick Start Guide
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
Related Files
•
V8.c – realization of V.8 protocol
•
dtmf.h – DTMF dialer definitions
•
dtmf.c – DTMF dialer realization
•
pulse.h – pulse dialer definitions
•
pulse.c – pulse dialer realization
•
tone_gendet.h – definitions used by the tone generator and detector
•
tone_gendet.c – realization of the tone generator and detector
•
ring_det.h – definitions used by the ring detector
•
ring_det.c – realization of the ring detector
•
at_parser.h – definitions used by the AT command parser
•
at_parser.c – realization of the AT command parser
•
at_handler.h – definitions used by the AT command handler
•
at_handler.c – realization of the AT command handler
•
text_response.h – definitions used by text response routines according to V.25ter
•
text_response.c – realization of text response routines according to V.25ter
•
countries.h – definitions of country or area codes according to ITU-T T.35
•
misc.h – definitions used by miscellaneous functions
•
misc.c – realization of miscellaneous functions
The following files are Hardware and Compiler dependent parts of the Soft Modem reference design:
4
•
SoftMod.mcp – Soft Modem project file
•
init.h – general data types and definitions. Init function prototypes
•
si3044_daa.h – definitions used by the DAA (Si3044 Modem Daughter Card) interface
•
si3044_daa.c – realization of the DAA (Si3044 Modem Daughter Card) interface
•
mcf5407_uart.h – definitions used by UART module routines
•
mcf5407_uart.c – realization of UART module routines
•
mcf5407_timer.h – definitions used by Timer module routines
•
mcf5407_timer.c – realization of Timer module routines
•
printf_uart.h – definitions used by the printf_uart() routine
•
printf_uart.c – realization of the printf_uart() routine. Required only for debug
•
mcf5407.h – MCF5407 definitions
•
mcf5407_lo.s – low level routines for the MCF5407
•
vector.s – MCF5407 vector table
•
int_handlers.c – interrupt handlers
•
sysinit.c – power-on reset configuration of the MCF5407
•
ads_68K_mw.c – linker command file
•
mwerks.h – defines constants used by the CodeWarrior Preprocessor
MCF5407 Low Data Rate Soft Modem Quick Start Guide
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
Related Files
2
Quick Start
Carefully follow these steps to prepare the LDR Soft Modem for operation
•
Properly install and set-up the Soft Modem daughter card:
Freescale Semiconductor, Inc...
The daughter card can be installed on the M5407C3 evaluation board the wrong way. Please ensure
that the daughter card is correctly fitted before applying power. The Motorola logos on the two cards
must be read the opposite way up to each other for correct operation. When correctly installed, the
RJ11 connector will be towards the PCI socket of the main board and the speaker will be adjacent
to the DIMM memory card.
Figure 1 shows the correctly installed daughter card and its jumper settings for correct
communication with the M5407C3 evaluation board.
JP1
JP2 JP3
BDM
Si 3021
DO RU RW R 0 PRU )
027252/$
M5407C3 CF Modem Card
Si 3015
'LJLWDO'1$
RJ11
PCI
'LJLWDO'1$
From Motorola
027252/$
DIMM
Figure 1. Modem Daughter Card Installation. Jumper Settings.
5
•
Proper set-up of the M5407C3 evaluation board:
•
To setup the M5407C3 evaluation board, refer to the M5407C3 User’s Manual, R1.1. When you are
preparing the board for the first time, be sure to check that all jumpers are in the correct locations.
In practice, the locations of J21, J22, J23 and J24 are incorrect by default. The settings can be
determined by allowing the board to boot up under dBUG control. Since dBUG drives the
configuration data on PP[0:3] the data will be seen on the LEDs (D1-D4). If the LED is on then the
corresponding jumper should be OFF, and if the LED is off then the jumper should be in position
2-3 (see M5407C3 User’s Manual, R1.1. Chapter 3.1.12 SDRAM DIMM ).
Use the RS-232 male/female DB-9 serial cable to connect the PC to the M5407C3.
•
Plug in the Modem daughter card to the telephone line through the RJ-11 socket (if you want to
make a connection to another modem).
•
Power-up the board.
•
Invoke the Hyper Terminal or similar terminal program on the PC to which the evaluation board is
connected and configure it to:
MCF5407 Low Data Rate Soft Modem Quick Start Guide
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
Related Files
— Bits per second: 19200
— Data bits: 8
— Parity: none
— Stop bits: 1
— Flow control: Hardware (CTS/RTS)
•
Load ...\ SoftMod.mcp onto Metrowerks’ CodeWarrior and build the target.
•
Run project.
•
In your terminal program window you should see the Soft Modem welcome message:
Freescale Semiconductor, Inc...
=========================
LDR Soft Modem
=========================
The Soft Modem is now ready to accept your AT commands (see MCF5407 Low Data Rate Soft Modem.
AT Command reference. User Manual.)
•
Set the country of DCE installation using the AT +GCI =<T.35 country code> command. For
example:
For USA:
+GCI= B5
For Great Britain:
+GCI= B4
NOTE
AT +GCI only sets country specific registers in the DAA chipset.
If after changing these, the Soft Modem tries to dial but it quickly returns
to off hook and reports NO DIAL TONE, try adding AT X0. The Soft
Modem will ignore dial tone detection.
For Your Information:
The default parameters are contained in the S_FACTORY_DEFAULT
[S_NUMBER] and H_FACTORY_DEFAULT [H_NUMBER] arrays that
are defined in the Source\modem.c file. You can modify them to change
the default parameters that are enabled on the Soft Modem reset for your
specific country.
NOTE
This modem is configured to work in North America, United Kingdom,
former USSR countries and Brazil. In order for this modem to work in any
other country not listed, dial and busy tones for your specific country need
to be defined in the source code. In addition, some noise adjustments may
have to be made. A separate document detailing how to modify this design
for your country is planned. Please contact Motorola for further details.
The Soft Modem is now configured according to your country PSTN parameters and you can dial to and
establish data connection with other modems via the telephone network (see MCF5407 Low Data Rate Soft
Modem AT Command Reference Manual).
6
MCF5407 Low Data Rate Soft Modem Quick Start Guide
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
Related Files
Appendix A
The Work of V.42 Error Correction Protocol
To demonstrate the V.42 error correction protocol on a noisy line, an error injector can be used. It inverts
bits of input and output data once per time period. When V.14 protocol is used, some “garbage symbols”
may occur on the terminal. When V.42 protocol is used, no “garbage” will occur on the terminal, but data
transfer will be paused from time to time (damaged data will be retransmitted automatically). To switch on
the error injector, V42_TX_ERROR_INJECTOR and V42_RX_ERROR_INJECTOR constants have to be
defined in the v42.h file (line 20).
Example:
Freescale Semiconductor, Inc...
#define V42_TX_ERROR_INJECTOR
#define V42_RX_ERROR_INJECTOR
For normal operation, do not forget to delete these definitions.
7
MCF5407 Low Data Rate Soft Modem Quick Start Guide
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
HOW TO REACH US:
USA/EUROPE/LOCATIONS NOT LISTED:
Motorola Literature Distribution
P.O. Box 5405, Denver, Colorado 80217
1-303-675-2140 or 1-800-441-2447
JAPAN:
Freescale Semiconductor, Inc...
Motorola Japan Ltd.
SPS, Technical Information Center
3-20-1, Minami-Azabu Minato-ku
Tokyo 106-8573 Japan
81-3-3440-3569
Information in this document is provided solely to enable system and software implementers to use
ASIA/PACIFIC:
Motorola products. There are no express or implied copyright licenses granted hereunder to design
Motorola Semiconductors H.K. Ltd.
Silicon Harbour Centre, 2 Dai King Street
Tai Po Industrial Estate, Tai Po, N.T., Hong Kong
852-26668334
or fabricate any integrated circuits or integrated circuits based on the information in this document.
TECHNICAL INFORMATION CENTER:
use of any product or circuit, and specifically disclaims any and all liability, including without
1-800-521-6274
limitation consequential or incidental damages. “Typical” parameters which may be provided in
HOME PAGE:
http://www.motorola.com/semiconductors
Motorola reserves the right to make changes without further notice to any products herein.
Motorola makes no warranty, representation or guarantee regarding the suitability of its products
for any particular purpose, nor does Motorola assume any liability arising out of the application or
Motorola data sheets and/or specifications can and do vary in different applications and actual
performance may vary over time. All operating parameters, including “Typicals” must be validated
for each customer application by customer’s technical experts. Motorola does not convey any
license under its patent rights nor the rights of others. Motorola products are not designed,
intended, or authorized for use as components in systems intended for surgical implant into the
body, or other applications intended to support or sustain life, or for any other application in which
the failure of the Motorola product could create a situation where personal injury or death may
occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized
application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries,
affiliates, and distributors harmless against all claims, costs, damages, and expenses, and
reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use, even if such claim alleges that Motorola was
negligent regarding the design or manufacture of the part.
Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office.
digital dna is a trademark of Motorola, Inc. All other product or service names are the property of
their respective owners. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
© Motorola, Inc. 2003
MCF5407SMQSRM/D
For More Information On This Product,
Go to: www.freescale.com

advertisement

Key Features

  • Supports data rates up to 2400 bits/second
  • Includes support for the Data Pump in real-time software
  • Supports the AT command set and other protocols
  • Uses the MCF5407C3 EVM as the development platform
  • Includes an additional daughter card for the Data Access Arrangement
  • Supports Silicon Labs Si3044 for CODEC and phone line interface

Frequently Answers and Questions

What is the maximum data rate supported by the MCF5407 SMQSRM?
The maximum data rate supported is 2400 bits/second.
What protocols are supported by the MCF5407 SMQSRM?
The MCF5407 SMQSRM supports the Data Pump in real-time software, the AT command set, and other protocols.
What is the development platform used for the MCF5407 SMQSRM?
The development platform is the MCF5407C3 EVM.
What is the purpose of the daughter card?
The daughter card provides the Data Access Arrangement (CODEC and phone line interface).
What CODEC is supported by the MCF5407 SMQSRM?
The MCF5407 SMQSRM supports Silicon Labs Si3044.

Related manuals

Download PDF

advertisement