DSPRelated.com
Forums

ON Blackfin ON/OFF Problem

Started by isni...@gmail.com April 18, 2008
Hi,
I am using LTC2950 ON/OFF controller to switch on the device........

Switch On steps.......
1.when switch button is pressed, it generates the enable output signal which in turn enables the DC/DC converter..
2. The output of the DC/ DC converter is given to input VDDEXT pins of the processor and many other devices to power ON
3. LTC 2950 has an KILL input which needs to be controlled by the processor
4.The Kill input is connected to one of the GPIO pins of the processor
5. The condition is that the processor needs to send a high signal to the LTC2950 within 512 ms from where it generates enable output signal.
Now, will I be able to generate the enable signal within that short time(512 ms) because the system needs to boot up and generate the enable output signal.....

Switch OFF steps
1.when switch button is pressed, it generates the NMI interrupt....
2. Now, Can I genertae the interrupt routine with that generated NMI interrupt to put the processor in sleep or deep sleep mode.......

Please reply to my both problems

--
Kind Regards,
Nithin K S
On Fri, 18 Apr 2008 i...@gmail.com wrote:

> Hi,

Howdy Nithin!

> I am using LTC2950 ON/OFF controller to switch on the device........
>
> Switch On steps.......
> 1.when switch button is pressed, it generates the enable output signal
>which in turn enables the DC/DC converter..
> 2. The output of the DC/ DC converter is given to input VDDEXT pins of
>the processor and many other devices to power ON
> 3. LTC 2950 has an KILL input which needs to be controlled by the processor
> 4.The Kill input is connected to one of the GPIO pins of the processor
> 5. The condition is that the processor needs to send a high signal to
>the LTC2950 within 512 ms from where it generates enable output signal.
> Now, will I be able to generate the enable signal within that short
>time(512 ms) because the system needs to boot up and generate the enable
>output signal.....

It's usually not a problem - just set up your GPIO's and flip the bit
before you get the OS up and running. On every system I've built with
that chip, it usually happens in less than 1 ms.

It's been really useful on a lot of projects, I like that chip :-)

> Switch OFF steps
> 1.when switch button is pressed, it generates the NMI interrupt....
> 2. Now, Can I genertae the interrupt routine with that generated NMI
>interrupt to put the processor in sleep or deep sleep mode.......

Yes. You can set the off time on the chip using a capacitor to be 5 or 10
seconds - much longer than the processor needs. You can also hook the
button up to two inputs - one for use while the processor is awake and one
for when it is asleep, as well as to control the chip. I think that is
too complicated though.

Patience, persistence, truth,
Dr. mike