Considering the fact that I can no longer make a difference between waveforms sent at 1kHz (sin and triangular) I am wondering about what I did code wrong in my ADC initialization to mess up my results that much. Below is a 1kHz sin I get for my 200...
I am currently trying on the linearity calibration and I am following the protocol (down below) but I do not understand where I am supposed to get the saved linearity correction factor bits[159:150] (step 3)? Every single ADC register is 32 bits at m...
I am using the VREFBUF as a reference for my ADC reading and I set it up to the max (2.5 V) and used the capacitor circuit described in AN5690 p.2 Fig. 2. The code used for my ADC and VREFBUF are described here : void VREFBUF_Init(void) {
SET_BIT(R...
Here is how I setup my DMA ; Enable Clock for DMA1Periph to memoryset memory and periph size to half wordset memory address increment and clear periph address incrementset circular modegive the flow control to the ADCSet DMAMUXSet DMA periph addressE...
So I had the time to test all the above.1) For my signal shape it was due to the way I read it, the serial buffer was overwritting values due to the serial communication being too slow for my sampling rate. I only plot two values for 10 samples now....
It s not about whether I am willing to take a risk or not, I just can not make tests until Monday. So if asking that question may evidence a misconception I have on Analog pins I will ask it. The reason I started this post is to find where I messed u...
I will test with DAC and Arduino's built-in definition.About using pull-up/down to test the signal I might be misunderstanding but am I not supposed to setup my pin as analog? In the datasheet, it is written that pull-up and down are turned off when ...
This is what my circuit looks like, I am using the STM32h747 within the Arduino Portenta (and the schematics are quite obscure to me https://content.arduino.cc/assets/Schematic%20PDF_SL-ABX00042.pdf?_gl=1*1lvkz5d*_ga*NzIxMjUwMTMuMTYzNzc3Mjc1OA..*_ga_...
True, I tried this configuration because I did not understand the LL_GetCommonClock() function return value which did go up when my clock speed was supposed to go down. But using the lowest prescalers values did not really get me satisfying results (...