hello vlsi team,
I am using VS1005 developer board for my application,
1.) Can you please share something how to use timers and counter in the firmware ?
I am using GPIO's for button press, so i want to give proper delay !
2.) Or the default delay function provided is enough ?
And if in the Kernel solution if add my customized solution like playing a audio file, will it work or it can only be done using sys folder ?
Thankyou !
VS1005 Firmware
Re: VS1005 Firmware
Easiest is to call ReadTimeCount() from your application. It will give you the amount of milliseconds passed since booting the kernel.vinayslone wrote: ↑Mon 2020-12-07 12:43I am using VS1005 developer board for my application,
1.) Can you please share something how to use timers and counter in the firmware ?
I am using GPIO's for button press, so i want to give proper delay !
The Delay() function will stop your thread's execution for the amount of milliseconds you give in the parameter.
You cannot play audio directly from the kernel. You need to boot the kernel, load necessary audio output drivers and mass storage drivers, then load your application that plays the audio.vinayslone wrote: ↑Mon 2020-12-07 12:43And if in the Kernel solution if add my customized solution like playing a audio file, will it work or it can only be done using sys folder ?
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy