MPC5200 - Problem with PSC mode

Moloko Vellocet allanjos at gmail.com
Tue Jan 31 06:30:33 EST 2006


Thank you.

But the error persists, I can't get data stored in RX pin and write
data to TX pin.

Registers like 'rfnum' are with value '0' (zero).

I think that RX and TX has not been enabled.


On 1/30/06, Zeitler, Nathan <nzeitler at osii.com> wrote:
> Hi Allann,
>
> > out_8(&psc->command, MPC5xxx_PSC_RST_RX |
> >          MPC5xxx_PSC_RST_TX |
> >          MPC5xxx_PSC_SEL_MODE_REG_1 |
> >          MPC5xxx_PSC_RST_ERR_STAT);
>
> It looks like you're trying to do too many things at once here.
> ORing SEL_MODE_REG_1 and RST_ERR_STAT together
> forms a completely different command in the Command
> register.  You may want to break that into two lines of code.
> Give that a try!
>
> Open Systems International, Inc.
> Nathan Zeitler
> Hardware Engineer
> 3600 Holly Lane North, Suite 40
> Minneapolis, MN 55447-1286
> Phone: 763 551 0559
> Fax: 763 551 0750
> E-mail: nzeitler at osii.com
>


--
_______________________________
Allann J. O. Silva

"I received the fundamentals of my education in school, but that was
not enough. My real education, the superstructure, the details, the
true architecture, I got out of the public library. For an
impoverished child whose family could not afford to buy books, the
library was the open door to wonder and achievement, and I can never
be sufficiently grateful that I had the wit to charge through that
door and make the most of it." (from I. Asimov, 1994)



More information about the Linuxppc-embedded mailing list