PowerOff

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
User avatar
Henrik
VLSI Staff
Posts: 1180
Joined: Tue 2010-06-22 14:10

PowerOff

Post by Henrik » Thu 2015-12-03 22:45

Hello!

Here is a little utility called PowerOff.dl3. By running this either from config.txt or the VSOS Shell you may turn the power off the VS1005 Development Board.

To use this program, copy PowerOff.dl3 to your VSOS system disk SYS/ directory.

As far as I have tested, it works, regardless of whether you have the USB-UART or USB cable(s) connected or not. Nevertheless, if you have a different experience, let us know in this thread.

Kind regards,
- Henrik
Attachments
PowerOff.zip
PowerOff VSIDE Solution. To use, copy PowerOff.dl3 to your VSOS system disk SYS/ directory.
(4.72 KiB) Downloaded 222 times
Good signatures never die. They just fade away.

vinayslone
Senior User
Posts: 38
Joined: Tue 2020-11-10 12:34

Re: PowerOff

Post by vinayslone » Sun 2020-12-06 21:05

Hello Vlsi team,

This driver file switch_off most of the things !

1.) I want to use this for my application, like if there is no activity on the board for suppose 5 mins then it should automatically go to sleep mode.

2.) And for awaking the board again, i want to use any button Like SW1, SW2 etc. (Because Power button restart the system, in place of starting the system were it left).

Please guide on this !

Thankyou

vinayslone
Senior User
Posts: 38
Joined: Tue 2020-11-10 12:34

Re: PowerOff

Post by vinayslone » Mon 2020-12-07 12:18

hello vlsi team,

Please resolve my above query !

Thankyou !

vinayslone
Senior User
Posts: 38
Joined: Tue 2020-11-10 12:34

Re: PowerOff

Post by vinayslone » Tue 2020-12-08 9:04

hello vlsi team,

Does anybody have time ?
Please resolve my above query !

Thankyou !

User avatar
Panu
VLSI Staff
Posts: 2780
Joined: Tue 2010-06-22 13:43

Re: PowerOff

Post by Panu » Tue 2020-12-08 12:57

vinayslone wrote:
Sun 2020-12-06 21:05
1.) I want to use this for my application, like if there is no activity on the board for suppose 5 mins then it should automatically go to sleep mode.
There's no such automatic functionality available. You need to build that into your application.
vinayslone wrote:
Sun 2020-12-06 21:05
2.) And for awaking the board again, i want to use any button Like SW1, SW2 etc. (Because Power button restart the system, in place of starting the system were it left). Please guide on this !
To get really low power consumption during sleep, you will need to switch power off and reboot again. You can store information about your application's state to the RTC RAM so that your application can reboot to the correct state.

Another possibility is to run the VS1005 at a slow clock rate to minimize power consumption, but never really switch it off. You need sufficient core, I/O and analog voltages so it will take a couple to a few milliamperes probably. Please see the thread about VS1005 power consumption at: viewtopic.php?t=1319

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Post Reply