Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schematic and build instructions #1

Open
alejoseb opened this issue Apr 1, 2019 · 6 comments
Open

schematic and build instructions #1

alejoseb opened this issue Apr 1, 2019 · 6 comments

Comments

@alejoseb
Copy link

alejoseb commented Apr 1, 2019

Hi,
Nice project and thanks for sharing. Can you provide schematics?

@Guitarman9119
Copy link
Owner

Guitarman9119 commented Apr 2, 2019 via email

@alejoseb
Copy link
Author

alejoseb commented Apr 5, 2019

Hey thanks for your answer, I found your repository directly on GitHub, so I was not aware of your instructable post. You may add that link to the readme file. That might help everybody to find the whole information of your project.

@alejoseb
Copy link
Author

alejoseb commented Oct 9, 2019

Hi,
I was checking your code and seems it is not a working version. It includes a DMA configuration for ADC but you are actually not using it. In addition there is no code for the output and DAC section. Can you upload a working version of your code. Thanks in advance

@Guitarman9119
Copy link
Owner

Guitarman9119 commented Oct 9, 2019 via email

@alejoseb
Copy link
Author

Thanks, for your answer I double checked and yes the analog output is correct. However, the DMA implementation is not clear, I believe something is wrong there, because there is no configuration of a buffer where you should store the samples coming from ADC. In addition I checked the source code of HAL_ADC_GetValue(&hadc1). That function access directly DR register of ADC, so technically is not using DMA. I am curious about that, because I am reviewing multiple examples with DMA and this particular example is not as expected. There are some missing parts in the configuration (for example source, destination and length of DMA transfer). I will try some modifications with a complete configuration and see if the code works as expected.

@Guitarman9119
Copy link
Owner

Guitarman9119 commented Oct 10, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants