Posted on August 06, 2016 at 17:38
Hello,
I have used ADC1 in 4 channel mode successfully in my project with DMA1 transferring the values in circular mode. Now I needed to add 2 more channels, but for some reason as a result reason the ch...
Posted on June 11, 2016 at 18:31Hello,I started using USB CDC device in my project which uses F303RE controller. I struggled to get it working until I realized that it is most likely using same DMA channel that I'm using for SPI3 access. I'm using D...
Posted on March 28, 2016 at 09:59
Hello everyone, this is my first post on the forums. I've been following the posts for awhile and now I have myself faced a problem I can't seem to fix.
I'm using a NUCLEO-F334R8 evaluation board and HAL ...
Posted on August 07, 2016 at 08:54Okay duh, I had understood incorrectly how DMA transfers the samples from multiple channels.The issue was here:static u16 gChannelRawValue[10];Number of array elements should be the number of channels, 6 in this cas...
Posted on March 29, 2016 at 08:25Okay solved this issue also. The 16-bit PCM sample is signed, I thought it is unsigned. So it was an issue in my downsampling logic.Sorry for flooding the forum with my issues :).
Posted on March 28, 2016 at 20:00Got the audio playback working, with very poor quality, here's a sample: https://www.youtube.com/watch?v=-PYCjDFqgasI'm converting a 16-bit mono wav file to 12-bit by shifting all samples by >> 4. I also added an amp...
Posted on March 28, 2016 at 10:27
Okay I fought with this whole day yesterday. Today with new eyes and new ides I quite quickly spotted the problem after checking the DMA registers.
This row was wrong, I was incorrectly setting the
DMA...