Search found 277 matches

by Hannu
Yesterday 13:22
Forum: VS1010 Forum
Topic: Trying to Use the RX1 Pin
Replies: 2
Views: 22

Re: Trying to Use the RX1 Pin

Hello and welcome to the forum, You are on right track. You are just missing the RX interrupt. I copypasted and edited a bit the essential stuff from the UART2 usage post which you already found. Totally untested code. /* This is the fifo*/ __y struct FIFOY uart2Fifo; __y u_int16 uart2FifoBuffer[32]...
by Hannu
Mon 2022-01-24 8:55
Forum: VS1005 and VSOS Software
Topic: Freeze on VSOS boot
Replies: 7
Views: 483

Re: Freeze on VSOS boot

Hanging is definitely not normal. Usually it is other way. Shutting down is hard. I have tested many break out and developer boards. Only a few of them have got stuck during boot and most of the time it has been a soldering problem in power, clock or reset circuit pins. One simple problem could be t...
by Hannu
Fri 2022-01-21 14:51
Forum: VS1005 and VSOS Software
Topic: Freeze on VSOS boot
Replies: 7
Views: 483

Re: Freeze on VSOS boot

Hi! First your vs1005 looks correct. I attached image of break out board mk2 VS1205. You have probably already checked if there is an easy problem to fix on your board: http://www.vsdsp-forum.com/phpbb/viewtopic.php?f=13&t=1500 Quickly looking at the board, it doesn't look like an exotic circuit...
by Hannu
Thu 2022-01-20 16:24
Forum: VS1005 and VSOS Software
Topic: Newbie here with newbie questions
Replies: 9
Views: 96

Re: Newbie here with newbie questions

If your cheatsheet gets good, please share it. At least I will review it and give a feedback. And it could be useful to other VSDSP coders to get started.

There are so many small and simple things we take for granted and don't even think about until someone asks.
by Hannu
Thu 2022-01-20 13:53
Forum: VS1010 Forum
Topic: VS1010D Memorize the setting value
Replies: 2
Views: 40

Re: VS1010D Memorize the setting value

This will shutdown better: // Regulators off PERIP(REGU_CF) = 0; PERIP(REGU_CF) = (1 << 4) | REGU_CF_AOFF | REGU_CF_IOOFF | REGU_CF_COFF; PERIP(REGU_CF) |= REGU_CF_REGCK; /* clk up */ PERIP(REGU_CF) &= ~REGU_CF_REGCK; /* clk down */ DelayL(100000); // Power will finally die during this loop. And...
by Hannu
Wed 2022-01-19 11:19
Forum: VS1005 and VSOS Software
Topic: Newbie here with newbie questions
Replies: 9
Views: 96

Re: Newbie here with newbie questions

If you are parsing command line parameters there is a tool for that. paramspl takes parameters, splits the string on whitespace. and returns number of pieces. Have a look at for example solutions/AuControl/AuInput/main.c in roots and sources. The essential pattern is below int nParam = RunProgram(&q...
by Hannu
Mon 2022-01-17 9:59
Forum: VS1005 and VSOS Software
Topic: Newbie here with newbie questions
Replies: 9
Views: 96

Re: Newbie here with newbie questions

Hi! That is seeking function, which the FileParam* functions use internally. Those parsing functions are white space sensitive like the examples in the documentation. The source code is in roots and solutions package under libvsos. I have used FileParamInt on VS1010 (same code) to parse file which i...
by Hannu
Thu 2022-01-13 17:24
Forum: VS1005 and VSOS Software
Topic: Newbie here with newbie questions
Replies: 9
Views: 96

Re: Newbie here with newbie questions

Hello, You have done your homework very well. And the aswer is yes. sysbackup copies everything to image file. I've been reading various documents and forum posts about VSOS and the VS1005 and think I'm starting to finally wrap my head around some of the core concepts. I'm creating this thread to ve...
by Hannu
Fri 2022-01-07 13:29
Forum: System Software
Topic: Calculating Values for PN2222A LED Circuit
Replies: 1
Views: 56

Re: Calculating Values for PN2222A LED Circuit

Hi! I drew small schematics for you. As all components are in series, voltage must be 5V over all of them. And all current uses nicely one route. led_resistor.png The transistor Q1 and LED1 have fixed voltage drop leaving R1 to tunable. Now we want 100 mA to go from 5V to GND and selecting R1 value ...
by Hannu
Mon 2022-01-03 14:53
Forum: VS1010 Forum
Topic: VS1010 Ultra low cost LCD FM radio + USB DAC + SD/USB MP3 Player demo board
Replies: 18
Views: 2723

Re: VS1010 Ultra low cost LCD FM radio + USB DAC + SD/USB MP3 Player demo board

Hello and welcome to the forum. I have limited understanding of the radio program and it is very complex piece of software. I really wish I had time to sit down and even read the code well through and maybe write it more modular. The H/W part: There are a few pins (or holes for them) on the edge of ...