Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ADC using DMA in stm32F105, zero value.

Status
Not open for further replies.

alibarghi

Member level 2
Joined
Jun 30, 2013
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,559
i use DMA in STM32F105 to reading adc 8Khz.
my DMA buffer is 1000 .
algorithm is hear :

1- start timer 4 cc4 -----> 8Khz Adjusted
2- enable ADC
3- start ADC_ch
4- config DMA in circular mode
4- start DMA transmit to buffer[1000]
5- disable half transmit interrupt
6- in interrupt of DMA , reading the value buffer[450] and buffer[550] . buffer[450] is Absolutely true but buffer[550] is always 0
I debug it by keil in all of buffer[500]~buffer[999] are zero forever.

please help me to solve it.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top