Reply by Jeff Brower February 9, 20052005-02-09
Micah-

Ha this makes me laugh. The desperate search for C54xx GPIO. I guess we're not the
only ones.

On a recent design, Nithin and I finally gave up and put down a little 6 x 6 mm
CPLD. For that "concession", we got 45 I/O -- about 15 of those used to allow the
DSP to read/write bytes in I/O space -- so around 30 effective. Also we had to fork
over board space for a tiny LDO (3 x 5 mm) to generate 1.8v Vcc Core for the CPLD.

But it does give us a lot of GPIO, with flexible direction, latched if needed, LEDs
if you need them, etc.

-Jeff Micah Caudle wrote:
>
> I've only worked with 5402 but I've considered some
> desparation ideas for extra GPIO's. For instance,
> unused EMIF signals like address lines, PS, DS, IS or
> IOSTRB. With any of those things you can use dummy
> memory writes to change the state of those lines
> keeping in mind wait states and other technicalities.
> On a TX half of a McBSP in serial port mode (not GPIO)
> I use the BCLK line to provide a master clock for
> another chip and still get general purpose output
> pulses on it's BFSX line by writing a dummy value into
> it's DXR reg. The length of the pulse and polarity is
> even programmable with that method! You can get
> creative and look for odd stuff like that. I can't
> think of anything for extra inputs and haven't used
> any TOUT's.
> -Micah
>
> >
> > Message: 1
> > Date: Tue, 08 Feb 2005 16:44:53 -0000
> > From: "Nithin Rajagopal" <>
> > Subject: TOUT as GPIO
> >
> >
> >
> > Hi
> > I dont see anything mentioned in the C5416 datasheet
> > about the TOUT
> > (timer out) pin being able to be used as a GPIO pin.
> > Is it still
> > possible to configure this pin as GPIO just as it is
> > in some of the
> > other DSPs of the C54x series? Also, i was wondering
> > if there any
> > GPIO pins other than the HD lines, MCBSP signals, XF
> > and BIO on the
> > C5416. I am in need of GPIO pins (directly from DSP)
> > for one of our
> > designs. We are not using an external logic like
> > CPLD, latch..etc due
> > to space constraints.
> >
> > Thank you
> >
> > Regards
> > Nithin
> >
> > __________________________________ >



Reply by Micah Caudle February 9, 20052005-02-09

I've only worked with 5402 but I've considered some
desparation ideas for extra GPIO's. For instance,
unused EMIF signals like address lines, PS, DS, IS or
IOSTRB. With any of those things you can use dummy
memory writes to change the state of those lines
keeping in mind wait states and other technicalities.
On a TX half of a McBSP in serial port mode (not GPIO)
I use the BCLK line to provide a master clock for
another chip and still get general purpose output
pulses on it's BFSX line by writing a dummy value into
it's DXR reg. The length of the pulse and polarity is
even programmable with that method! You can get
creative and look for odd stuff like that. I can't
think of anything for extra inputs and haven't used
any TOUT's.
-Micah

>
> Message: 1
> Date: Tue, 08 Feb 2005 16:44:53 -0000
> From: "Nithin Rajagopal" <>
> Subject: TOUT as GPIO >
> Hi
> I dont see anything mentioned in the C5416 datasheet
> about the TOUT
> (timer out) pin being able to be used as a GPIO pin.
> Is it still
> possible to configure this pin as GPIO just as it is
> in some of the
> other DSPs of the C54x series? Also, i was wondering
> if there any
> GPIO pins other than the HD lines, MCBSP signals, XF
> and BIO on the
> C5416. I am in need of GPIO pins (directly from DSP)
> for one of our
> designs. We are not using an external logic like
> CPLD, latch..etc due
> to space constraints.
>
> Thank you
>
> Regards
> Nithin
__________________________________



Reply by Nithin Rajagopal February 8, 20052005-02-08


Hi
I dont see anything mentioned in the C5416 datasheet about the TOUT
(timer out) pin being able to be used as a GPIO pin. Is it still
possible to configure this pin as GPIO just as it is in some of the
other DSPs of the C54x series? Also, i was wondering if there any
GPIO pins other than the HD lines, MCBSP signals, XF and BIO on the
C5416. I am in need of GPIO pins (directly from DSP) for one of our
designs. We are not using an external logic like CPLD, latch..etc due
to space constraints.

Thank you

Regards
Nithin