Search found 396 matches

by Hannu
Thu 2022-07-28 9:23
Forum: VS1005 and VSOS Software
Topic: FTIOsc - Input side effect: Oscillator
Replies: 2
Views: 98

Re: FTIOsc - Input side effect: Oscillator

I'll put that to wishlist.

After all I have some visions for this program and its feature set which would make my life a little bit easier.
by Hannu
Thu 2022-07-21 8:41
Forum: VS1010 Forum
Topic: Battery Boost Ruining VS1010
Replies: 1
Views: 74

Re: Battery Boost Ruining VS1010

So you boost VIN? First question is that do you have to boost it. VS1010 can live with AVDD + 0.3 V giving 3.9V. And if you want to go little bit lower it is possible by small piece of software. And when USB is connected, 5V can come from there. To debug more measure the CVDD, AVDD, and AVDD. Also h...
by Hannu
Mon 2022-07-18 14:26
Forum: DSP and Audio Software
Topic: Generating Frequency
Replies: 16
Views: 4854

Re: Generating Frequency

viewtopic.php?f=13&t=2981

I think you are interested on the BeepSweep() of the osctest program.
by Hannu
Mon 2022-07-18 14:24
Forum: VS1005 and VSOS Software
Topic: FTIOsc - Input side effect: Oscillator
Replies: 2
Views: 98

FTIOsc - Input side effect: Oscillator

Hello VS1005 users, Here is a input side sine generator. It overwrites input samples from stdaudioin with sine wave. Please have a look at documentation and test program how to use the driver as it only has ioctl() interface. To load the driver add ftiosc after you have loaded your real input driver...
by Hannu
Tue 2022-07-12 14:42
Forum: Microcontroller Software
Topic: VS1053 DREQ pin problem.
Replies: 7
Views: 282

Re: VS1053 DREQ pin problem.

Hi! I think I have found the problem. The problem starts (top part of image) when something bad happens to write(0x02) volume(0x0b) It is stopped before end and then there is the small glitch. After that there is just a steady state of XCS going down and up but nothing happens on signals (Midle part...
by Hannu
Tue 2022-07-12 8:08
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 27
Views: 1007

Re: Designing my PCB.. Have some questions

Most of the time a normal capacitor filters is OK. Getting for example a pi-filter correct or anything which has inductors is way more harder. One thing to take a look is also continuous - discontinuous mode change. In discontinuous mode you have much more higher ripple on low frequency. You may end...
by Hannu
Mon 2022-07-11 16:00
Forum: DSP and Audio Software
Topic: Generating Frequency
Replies: 16
Views: 4854

Re: Generating Frequency

Actually I wrote last week FTIOSC driver while waiting some other software to fail. Real time problems are often like that. So far I haven't run the driver even a single time and I'm not comfortable yet with the intelligence level of it. So it is on development pipeline. Basically it needs some ioct...
by Hannu
Mon 2022-07-11 8:25
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 27
Views: 1007

Re: Designing my PCB.. Have some questions

Basically your plan is OK. If you provide external voltage which is higher than internal regulator sets, the internal regulator gives up. You have to know that there is a vbus so that you can enable the external regulator. Also check that if there is no VBus, and the regultaor is off, it isn't pulli...
by Hannu
Fri 2022-07-08 15:31
Forum: Microcontroller Software
Topic: VS1053 DREQ pin problem.
Replies: 7
Views: 282

Re: VS1053 DREQ pin problem.

Hi!

I took a look at the dumps. Just to make sure:
ch0: DREQ
ch1: SCK
ch2: MOSI
ch3: XCS
ch4: XDCS
Is my assumption of the connections correct?
by Hannu
Fri 2022-07-08 10:54
Forum: VS1010 Forum
Topic: UART -- 1200bps 7E2
Replies: 2
Views: 152

Re: UART -- 1200bps 7E2

Let's see how this goes. 1200 bps for UART_DIV is 12288000/1200 = 10240 And spliitin it would be 80*128 and now the setting becomes PERIP(UART2_DIV) = (127 << 8) |80; void Uart2PutChar(register char c) { c = AddParity(c); while(PERIP(UART2_STATUS)&UART_ST_TXRUNNING) { DelayL(5UL * 1024); } PERIP...