2024-07-29 06:24 PM
if you want to use ADC to DAC and have 200hz output. what is the first thing to do? connect the ADC to the DAC or set the output frequency first until it reaches 200hz?
2024-07-29 10:19 PM
hello can anyone help me for my project.
i want to ask you about how to program mapping if i have a value adc form potentiometer and i want to used for dac, for step i want i want to map the adc but i don't know hoe to map, if you knows, please bring me a answer or steps or recomend channel or website to help me in my project.
if you have a example of program, can you give me to see in this blog?
2024-07-30 07:46 AM
Hello @meriarajagukguk
Here is a suggestion:
To get started, you can set up the ADC parameters: resolution, input channel, and sampling frequency.
Then, DAC including the output channel and resolution. Next, adjust the Output Frequency after connecting the ADC to the DAC to reach 200 Hz.
This wiki may be helpful:
https://wiki.st.com/stm32mcu/wiki/Getting_started_with_ADC#Configure_ADC_to_measure_the_DAC_output
Thanks.
Best Regards,
ELABI.1
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-07-30 07:56 AM - edited 2024-07-30 08:04 AM
@meriarajagukguk wrote:if you want to use ADC to DAC and have 200hz output.
what does that mean?
Do you want that DAC to reproduce whatever the ADC sampled? If so, the DAC output would be governed by whatever you feed into the ADC.
Haven't you asked this same question several times already?
What is this magic 200 Hz that you keep talking about?
I think you need to take a step back, and clarify your actual requirements here - what is it that this system is to do?
These are the basic steps that need to be taken to start any development project.
2024-08-01 04:33 AM
Hello @meriarajagukguk ,
I assume that the continuity of this question is here: https://community.st.com/t5/stm32cubemx-mcus/dma-adc-with-potentiometer/td-p/704201.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-12 03:50 AM
Thanks for the wiki link.