From: Stevan Ignjatovic <stevan@iritel.com>
To: linuxppc-embedded@ozlabs.org
Subject: MPC8250 MCC operating on 2-bit channels
Date: Tue, 20 Sep 2005 17:16:48 +0200 [thread overview]
Message-ID: <1127229408.3932.40.camel@stevan.iritel.co.yu> (raw)
Hello,
My problem is concerned with the multi channel controller MCC2 on
MPC8250. Its task is to relay messages from D channels between Local
Exchange and ISDN BRA subscribers. All active D channels (up to 128) are
aggregated into single stream tied directly to the TDMc2, ie. both
TDMc2_Rx and TDMc2_Tx are divided into 2-bit channels. 2.048MHz clock
and 8KHz frame pulse are generated externaly and are connected to
corresponding processor pins (common pins for receive and transmit
sections).
When tested with internal loopback (SI2MR[SDM2]=0b10) everything works
fine, ie. for example the message we send through channel 0 is received
correctly on channel 0. However, it doesn't work in real application.
The debugging process led me to this simple test. I connected TDMc2_Rx
and TDMc2_Tx to FPGA in which I implemented the delay of N frames (N x
125us, since the frame pulse is 8KHz), such that for N=0 I have simple
external loopback, for N=1 delay of one entire frame, and so on. I was
sending messages through channel 0 (it is the only channel I actually
started). The results I obtained were very strange. For N=0, N=4, N=8
the received message was correct, but for N=1,2,3 it was not (I was
usually reported CRC erro,r or non octet alignment error, or abort).When
I tried with 4-bit channels, the result was correct for N=0,2,4,....
Only with 8-bit channels I obtained correct result for all frame delays.
The fact that everything works fine with 8-bit channels makes me believe
that all MCC and SIRAM settings are ok. I tried many combinations of
SIRAM programming (For example, I tried to program only channel 0 as
2-bit and all others as 8-bit, or as null entries), but it didn't work
out. It is also worth to mention that I have never received GUN or GOV
errors.
Has anybody dealt with 2-bit channels on MCC? What can cause such
problems (remember that everything works fine with 8-bit channels). I
would also appreciate if somebody has the possibility to implement
similar test.
Regards,
Stevan
next reply other threads:[~2005-09-20 15:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-20 15:16 Stevan Ignjatovic [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-09-20 17:42 MPC8250 MCC operating on 2-bit channels Rune Torgersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1127229408.3932.40.camel@stevan.iritel.co.yu \
--to=stevan@iritel.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox