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 ?
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.
2 posts • Page 1 of 1
Easiest is to call ReadTimeCount() from your application. It will give you the amount of milliseconds passed since booting the kernel.
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.