Search found 2144 matches

by pasi
Mon 2024-07-08 11:38
Forum: Microcontroller Software
Topic: VS1053 Too high speed of audio
Replies: 1
Views: 97

Re: VS1053 Too high speed of audio

Is the audio also playing with a higher pitch, or is there parts of it missing?
What does SCI_DECODETIME show? Does it advance once per second?

What is the actual value written to SCI_CLOCKF? What is your crystal? For 12.288MHz crystal, 0x9800 is a good default value for SCI_CLOCKF.
by pasi
Mon 2024-07-08 11:34
Forum: Microcontroller Software
Topic: VS1053 Tests
Replies: 1
Views: 80

Re: VS1053 Tests

1) If you start with the sci register 1, do you then get the contents of the SCI_STATUS register? The other tests do not automatically return. Once you enter them, they run until you exit (the old sine test has a pattern to end it) or software reset (using the SCI_MODE register bit). 2) You can chan...
by pasi
Mon 2024-07-01 12:14
Forum: Stand-Alone Applications
Topic: VS1011 new foundry?
Replies: 2
Views: 106

Re: VS1011 new foundry?

We have not found a (relatively) compatible process in the foundries available to us to keep vs1011e in production. Porting to a different process would not create a drop-in replacement device due to voltage differences (and because vs1011e only uses two voltage supplies). If you're using the LQFP-4...
by pasi
Fri 2024-06-28 14:28
Forum: Microcontroller Software
Topic: VS1053: what to do with XDCS in SCI?
Replies: 6
Views: 288

Re: VS1053: what to do with XDCS in SCI?

If the CLKI/7 restriction is fulfilled, a SCI transaction takes 32 bits and 7 CLKI cycles per bit = 224 clock cycles total. SCI transactions to/from most registers thus do not need any extra wait time, even with other interrupts active. The main point of this note is that you can start the next SCI...
by pasi
Tue 2024-06-25 11:03
Forum: Microcontroller Software
Topic: VS1053b - sine test starts after 2min40sec
Replies: 10
Views: 309

Re: VS1053b - sine test starts after 2min40sec

Great.

A side note about SCI_STATUS. It shows 0x0048 (vs1053, analog drivers in powerdown) for a few hundred ms before going to 0x40 (analog power and drivers enabled).
by pasi
Fri 2024-06-14 9:42
Forum: Microcontroller Software
Topic: VS1053b - sine test starts after 2min40sec
Replies: 10
Views: 309

Re: VS1053b - sine test starts after 2min40sec

You have activated the Sine sweep test (0x4022), which produces a sine of slowly rising frequency. Everything is probably correct, and you are just not hearing the low-frequency start of it -- the low frequencies not reproduced by your headphones/speaker. However, a different CLOCKF value should not...
by pasi
Thu 2024-06-13 14:05
Forum: Microcontroller Software
Topic: VS1053b - sine test starts after 2min40sec
Replies: 10
Views: 309

Re: VS1053b - sine test starts after 2min40sec

Having a microsd card on the same SPI bus is not recommended, especially if the user can eject/insert the card at any time. The reason is that you should not access the vs10xx before the uSD card communication is initialized, or the uSD card can mess up the communication and/or enter the SD communic...
by pasi
Thu 2024-06-13 11:46
Forum: Microcontroller Software
Topic: VS1063: PCM DATA MP3 DATA CONVERT
Replies: 9
Views: 313

Re: VS1063: PCM DATA MP3 DATA CONVERT

We don't have an example code on how to combine the SDIEncoder application. This is why I suggested taking it one step a time to: 1. learn how to decode files (send data to SDI), 2. learn how to encode from line input (read data through SCI and save to file), and only then combine what you're learnt...
by pasi
Mon 2024-06-10 11:10
Forum: Microcontroller Software
Topic: VS1063: PCM DATA MP3 DATA CONVERT
Replies: 9
Views: 313

Re: VS1063: PCM DATA MP3 DATA CONVERT

See Hannu's notes above. AGND and DGND must be connected together directly under the chip. I need an example source that converts Pcm data to mp3 data using Vs1063. Vs1063 use spi interface. I need your help because I'm a beginner. You can start with any generic vs1063 recorder source code you can f...
by pasi
Mon 2024-06-10 10:57
Forum: System Software
Topic: How to display the sampling rate and other information of the current playing file on the screen
Replies: 6
Views: 198

Re: How to display the sampling rate and other information of the current playing file on the screen

1. Do you have your own filesystem routines? If yes, are you only sending the contents of the file, and not the whole last disk sector? The last block of data may contain invalid data after the actual file has ended. 2. Are you sending 2048 zero / endfill bytes after sending the file? 3. Do you perf...