Search found 10 matches

by cbrisebois
Tue 2022-06-07 19:29
Forum: Microcontroller Software
Topic: negative signal clipping
Replies: 2
Views: 203

Re: negative signal clipping

Hello I have found the solution. Turns out I miss read the data sheet. The amplitude of a line input pin is reported as 2500mVpp. The dev platform I was working with had no biasing circuit on the line input so I assumed this meant that the ADC was expecting a signal range of -1250mV to 1250mV. The A...
by cbrisebois
Tue 2022-06-07 18:45
Forum: Microcontroller Software
Topic: negative signal clipping
Replies: 2
Views: 203

negative signal clipping

Hello, I am attempting to make .ogg recordings using the VS1053b as a slave device to an nRF52840 master microcontroller. I am observing some strange behavior in the recordings. Negative samples appear to be getting clipped at a given percentage of the amplitude of the signal. The following pictures...
by cbrisebois
Thu 2022-06-02 23:22
Forum: Slave Decoder Applications
Topic: Ogg vorbis recording - non functional
Replies: 5
Views: 364

Re: Ogg vorbis recording - non functional

Final update to this thread. I swapped a new VS1053b chip into my development set up and the whole things runs perfectly now. I believe I damaged the microphone amplifier/multiplexor system earlier in development. Major take always from this project so far have been that the mic and line inputs have...
by cbrisebois
Thu 2022-06-02 20:46
Forum: Slave Decoder Applications
Topic: Ogg vorbis recording - non functional
Replies: 5
Views: 364

Re: Ogg vorbis recording - non functional

I have a somewhat interesting update to make to this discussion. I decided to try a stereo, two line set up with the right channel running into line 2 and the left channel running into line 1. On the firmware side, I loaded a stereo encoder package ("venc44k2q05.plg") and configured the li...
by cbrisebois
Thu 2022-06-02 18:48
Forum: Slave Decoder Applications
Topic: Ogg vorbis recording - non functional
Replies: 5
Views: 364

Re: Ogg vorbis recording - non functional

Hello Pasi, thank you for the suggestions. In responce to your queries, I listed the following remarks. 1. To the best of my knowledge I am recording valid .ogg files. I will attach an example of such a recording with the mono plugin to this reply. 2. When making stereo recordings I am seeing the sa...
by cbrisebois
Thu 2022-06-02 0:23
Forum: Slave Decoder Applications
Topic: Ogg vorbis recording - non functional
Replies: 5
Views: 364

Ogg vorbis recording - non functional

Hello, I have a VS1053b configured as a slave device to an nRF52840 microcontroller. When I try to preform an ogg vorbis recording the resulting file is just low volume noise. I am using the line 1 input with a song played from the audio jack in my phone as the input signal. As far as I know the inp...
by cbrisebois
Tue 2022-05-31 22:28
Forum: Microcontroller Software
Topic: nRF52 master VS1053 slave - load plugin operation is slow
Replies: 2
Views: 242

Re: nRF52 master VS1053 slave - load plugin operation is slow

Hello Pasi,

Thanks for the response. It turns out I had my clock speed configured improperly. Simple fix when I found the problem.

Thanks,
Connor
by cbrisebois
Wed 2022-05-25 23:43
Forum: Microcontroller Software
Topic: nRF52 master VS1053 slave - load plugin operation is slow
Replies: 2
Views: 242

nRF52 master VS1053 slave - load plugin operation is slow

Hello I have implemented a software reset function for my VS1053 driver. In this function, among other operations, the patches plugin is loaded. this loading takes upwards of 17 seconds. Is this normal? Is there a way to speed this loading up? I will enclose my software reset function for reference ...
by cbrisebois
Mon 2022-05-16 21:10
Forum: Microcontroller Software
Topic: nrf52 master VS1053 slave
Replies: 2
Views: 212

Re: nrf52 master VS1053 slave

Hello, thank you for the reply.

I checked my assertions of xCS and xDS and re-timed them to reflect the VS1053b datasheet. I also slowed the clock speed. This fixed my problem and I can read/write to the chip's registers as desired. Thank you for your recommendations.

Cheers,
Connor
by cbrisebois
Sat 2022-05-14 1:12
Forum: Microcontroller Software
Topic: nrf52 master VS1053 slave
Replies: 2
Views: 212

nrf52 master VS1053 slave

Hello, I am trying to establish my nrf52840 chip as master over the VS1053b to enable audio recording and playback features in my device. I am having trouble confirming initialization of the VS1053b. Specifically, when I preform a read operation for the serial command interface (SCI) I receive eithe...