Motherboard Forums


Reply
Thread Tools Display Modes

Help: problem of v22bis software modem by Motorola SDK 2.0E

 
 





















Kelvin
Guest
Posts: n/a

 
      06-27-2003, 02:30 PM


Hello dear all,

Have someone here successfully implemented the v22bis software modem
library probvided by Motorola SDK 2.0E on a 5685x DSP chip?

I tried hard but could not make it talk with a PC Modem smoothly. The
connection was established for a few seconds and some characters have
been transfered, then the software modem received a lot of garbage
strings. After some retries by the answering software modem, Finally
the connection lost.

The AT command that I set the v22bis modem (should be 2400bps ONLY) in
the hyperterminal is,

at\n0
at+ms = v22b,0,2400,2400,2400,2400

Are they correct? Hope to have your advice. Thanks.
Kelvin
 
Reply With Quote
 
Darcy Roberts
Guest
Posts: n/a

 
      06-27-2003, 03:04 PM
Are you using a loop connection, or direct? If direct, you may
need to attenuate to obtain decent receive levels. I have seen
that V.22bis modems I designed years ago would have problems
during testing with high receive levels. Does either modem require
loop current to properly terminate the line? Some designs will not
operate well without loop current.
Also, if you are using your own op-amp duplexer, try to optimize the
impedance match.

regards,
Darcy Roberts
Ag Instruments.

Kelvin wrote:
> Hello dear all,
>
> Have someone here successfully implemented the v22bis software modem
> library probvided by Motorola SDK 2.0E on a 5685x DSP chip?
>
> I tried hard but could not make it talk with a PC Modem smoothly. The
> connection was established for a few seconds and some characters have
> been transfered, then the software modem received a lot of garbage
> strings. After some retries by the answering software modem, Finally
> the connection lost.
>
> The AT command that I set the v22bis modem (should be 2400bps ONLY) in
> the hyperterminal is,
>
> at\n0
> at+ms = v22b,0,2400,2400,2400,2400
>
> Are they correct? Hope to have your advice. Thanks.
> Kelvin


 
Reply With Quote
 
Darcy Roberts
Guest
Posts: n/a

 
      06-27-2003, 07:29 PM
One other thing to check is the accuracy of the clocks. The
software version may be correcting for clock slips, but this can
be an issue. As you know, there is an async-to-sync conversion
done somewhere in the code(and the reverse). I have found if the
clocks are out enough, then you can get bursts of wrong characters
until the modems synchronize again. Note: this is based on experience
with a 73K224 based (hardware) modem design and may not apply
to you.

Can you try connecting at an FSK rate (V.21 or Bell 103) ? This may
help shed some light on the problem...

Can you configure the software to do an analogue loopback? If the
problem goes away, it could be a clock issue.

Is there an AGC block in the software? Can it be disabled?

Is there an adaptive receive filter in the software? Can it be disabled
or locked at a certain set of tap values?

regards,
Darcy Roberts

Kelvin wrote:
> Thanks for your advice.
>
> I am testing the software on real telephone line now. The test is done
> in this way:
>
> DSP <--> CODEC <--> TELEPHONE INTERFACE <--> CENTER OFFICE <--> PC
> MODEM
>
> I have done something such as DTMF and tone detection on the same
> circuit. Seems okay. What I donot understand is that why the software
> modem could receive the correct characters only in the first few
> seconds then garbage characters.
>
> Cheers,
> Kelvin
>
> Darcy Roberts <> wrote in message news:<>...
>
>>Are you using a loop connection, or direct? If direct, you may
>>need to attenuate to obtain decent receive levels. I have seen
>>that V.22bis modems I designed years ago would have problems
>>during testing with high receive levels. Does either modem require
>>loop current to properly terminate the line? Some designs will not
>>operate well without loop current.
>>Also, if you are using your own op-amp duplexer, try to optimize the
>>impedance match.
>>
>>regards,
>>Darcy Roberts
>>Ag Instruments.

>


 
Reply With Quote
 
Kelvin
Guest
Posts: n/a

 
      06-30-2003, 08:46 PM
Hello Darcy and John,

This is my first modem project and thanks for your enolightening
advice. I have tried all the digital and analog loopback tests on my
target board. All passed.

There is only one crystal on my target board, which provides the dsp
with about 60 MHz clock signal and help codec generate a 7200Hz Frame
Sync of the serial communication between dsp and codec. I checked the
clock for dsp and the frame sync signals. Both of them were very
steady and I did not see anything abnormal.

Shall I change the dsp clock crystal to a more accurate one? I need
also have to look at the application code which may cause the timing
corrupt? Thanks.

Kelvin
 
Reply With Quote
 
Darcy Roberts
Guest
Posts: n/a

 
      07-01-2003, 02:10 AM
You should strive for a carrier frequency of 1800 Hz
+/- 1Hz or better. The modulation rate accuracy should
be +/- 0.01% or better.

Does this CPU use a PLL to generate the 60 MHz? Nudging
the crystal a bit might help here to generate a more
accurate carrier.

regards,
Darcy Roberts

Kelvin wrote:
> Hello Darcy and John,
>
> This is my first modem project and thanks for your enolightening
> advice. I have tried all the digital and analog loopback tests on my
> target board. All passed.
>
> There is only one crystal on my target board, which provides the dsp
> with about 60 MHz clock signal and help codec generate a 7200Hz Frame
> Sync of the serial communication between dsp and codec. I checked the
> clock for dsp and the frame sync signals. Both of them were very
> steady and I did not see anything abnormal.
>
> Shall I change the dsp clock crystal to a more accurate one? I need
> also have to look at the application code which may cause the timing
> corrupt? Thanks.
>
> Kelvin


 
Reply With Quote
 
Darcy Roberts
Guest
Posts: n/a

 
      07-01-2003, 02:16 AM
Correction:

The carrier for V.22bis is 1200 Hz +/- 0.5 Hz (low band)
and 2400 Hz +/- 1 Hz (high band). I was thinking of V.32bis
carriers...

The data rate is to be 2400 bit/s or 1200 bit/s +/- 0.01%
with a modulation rate of 600 baud +/- 0.01%

Start off with a very accurate frequency counter, and get
the software to generate the guard tone of 1800 Hz.

regards,
Darcy Roberts

Kelvin wrote:
> Hello Darcy and John,
>
> This is my first modem project and thanks for your enolightening
> advice. I have tried all the digital and analog loopback tests on my
> target board. All passed.
>
> There is only one crystal on my target board, which provides the dsp
> with about 60 MHz clock signal and help codec generate a 7200Hz Frame
> Sync of the serial communication between dsp and codec. I checked the
> clock for dsp and the frame sync signals. Both of them were very
> steady and I did not see anything abnormal.
>
> Shall I change the dsp clock crystal to a more accurate one? I need
> also have to look at the application code which may cause the timing
> corrupt? Thanks.
>
> Kelvin


 
Reply With Quote
 
Kelvin
Guest
Posts: n/a

 
      07-01-2003, 09:22 PM
Sorry a mistake in my message:

The crystal is about 3.6864 MHz. The CPU PLL Module generates about
120 MHz for internal buses and 60 MHz for external. It seems that
V22bis modem needs pretty accurate clocks for the communication. I
will check the spec of the oscillator.

Thanks.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard- or software problem? TheCroW Asus 4 04-14-2007 02:05 AM
OT Upgrade to Gibabit Network? Pat Conover Dell 21 02-25-2007 09:35 PM
LAN problem on NF7-S2 ..Please help.. TORN Abit 2 02-22-2007 03:11 AM
Are Dell PC's going to become extinct? pohanlin@gmail.com Dell 32 01-16-2007 08:13 AM
Creative Modem Blaster V92 PCI DI5631 Stopped working Vince Dell 18 01-03-2007 07:22 PM


All times are GMT. The time now is 08:07 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43