696 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
1
replies
33
views
Beats at frequencies near Nyquist frequency divisors and their handling
At a sampling rate of 22050 Hz, if a sine wave signal with a frequency of 11024 Hz (Nyquist frequency minus 1 Hz) is generated, audible beats (amplitude fluctuations up to the point of the signal ...
-8
votes
0
answers
109
views
Unable to read ADC on STM32L476RG [closed]
I have a nucleo-L476RG board. Pin A0 is connected to my lab power supply as well as the ground on my board. Nothing in between, nothing else.
An image of my setup can be found here.
The red clamp is ...
0
votes
0
answers
38
views
STM32 CONTROL HAL I2C/ADC returns zero values
we made a code in STM32CUBEIDE to control the ADC/I2C of our datalogger test but we have a problem because when we run the code, in line 156, the string ‘voltage_ch0’ gives us a value of 0 and nothing ...
0
votes
0
answers
68
views
ADC DMA does not work after wake up STM32
I am facing the issue that ADC DMA cannot work even I try re-init in many ways.
Information:
STM32L476
Stop mode and wake up via RTC
Can re-init USB so the terminal still works
Clock configuration ...
0
votes
1
answer
70
views
STM32F4 ADC Multi-Channel Interrupt Logical Error
I am trying to use interrupts with the ADC module. I am using PA0 and PA1 as analog inputs for the ADC, and PC0 and PC1 as external LEDs. My goal is: when PA0 is triggered, PC0 should turn on. when ...
1
vote
1
answer
55
views
why STM32F030F4P6 ADC continue scan mode make pin's voltage is higher (re-up)
I'm using ADC continue scan mode with DMA for 2 channels, config by register, not use HAL library, make sure pin mode is analog mode
When ADC just turn on clock, every thing be ok, voltage of pin PA0 ...
0
votes
0
answers
62
views
Sampling characteristics of nRF52840 SAADC
According to the documentation, the SAADC (ADC) device has a maximum sampling rate of 200kHz (ksps), a value that is the sum of a minimum TACQ (acquisition time) of 3us and a conversion time of "&...
0
votes
0
answers
65
views
yl-69 sensor - adc conversion does not change adch and adcl - avr assembly
The YL-69 sensor(for soil moisture using a comparator circuit LM-393) is functional. When tested with C code on the Arduino IDE, it prints the correct values on the serial monitor. However, when ...
0
votes
0
answers
49
views
daisy-chaining multiple MAX11040K's
Not sure if the is a h/w or s/w issue but here goes- I'm using the MAX11040K to sample 9 channels (all microphones) which give a signal between 0 to 3.3V DC-biased by 1.65V; that's input to all ...
0
votes
1
answer
65
views
Transfer data from RAM to Flash while ADC is running with DMA
I have a STM32WB55VG device where ADC Sampling for one channel is happening at a rate of 40 kHz. As the sampling duration is about 5 seconds the data (400 kBytes) can not be stored in RAM (only 256 ...
0
votes
0
answers
136
views
Digispark ATtiny85 AnalogRead() Issues
TLDR: Whenever I try to read a voltage that is lower than about 2.2V the display will freeze up. Only after I increase the voltage then after like 10 seconds it resumes operation.
I am tinkering with ...
0
votes
0
answers
98
views
AD7124-8 with STM32 Status Register not reflecting active channels
I am creating a project with an AD7124-8 PMDZ eval board with an STM32H755ZI nucleo board.
Communicating through :
SPI Mode - 3 ( CPOL - 1, CPHA - 1 ),
MSB first,
8 bit data length,
No CRC.
I have ...
1
vote
1
answer
93
views
How do I get ADC to work on an ATtiny212 using Microchip Studio C code?
I am new to the tinyavr 1 series microcontrollers. I've tried copying the basic example out of the Microchip TB3209 guide, but it doesn't seem to do anything.
I use the below code, where PA3 is an LED ...
2
votes
1
answer
66
views
ADC7768 CRC calculation
I am using adc7768 to receive ADC samples. According to datasheet to calculate CRC, we can do it every 4th or 16th sample. My question is for 4 samples last 3 samples CRC will be header of 4th sample. ...
0
votes
0
answers
45
views
How can I plot information from Adafruit ADS1115 smoothly on matplotlib using python
See attached my waveform of input to channel of ADS1115, my code, and my output that I am getting
I cannot get the output matplotlib waveform to plot smoothly like my input waveform from oscilloscope
...