-
Notifications
You must be signed in to change notification settings - Fork 977
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
SDADC implementation #754
Comments
Here is my code for hal initialization:
The compilation finishs with success. But after uploading the mcu runs into the error handlers. For a quick debug I throw the error hanler with a value written by the already used dac. So I can see with a multimeter which error handler is thrown. The only one that is not is the In the TrueStudio the whole code is working like a charm. Please give me a hint. |
No idea, I never test this feature. And seems only available for some F3.
No, moreover it seems very specific to some F3.
Maybe, by writing a built-in library to handle this. Maybe could be part of #5 About issue with your code, I don't know probably a init part is missing. Clock? Power? |
I found the issue. It really belonged to a reference of a missing lib. Within TrueStudio a file is generated that initializes special peripherials. The file's name is "stm32f3xx_hal_msp.c". It includes equal routines for the analog parts as you find in the "analog.c". |
That's is exactly the point I've raised. |
As you now able to use this feature on your own. |
Thanks for now. I give some response when I get the code working in Ardunio style. |
How can I use the Sigma-Delta ADC (SDADC) in the Arduino environment? The "analogRead" command belongs to the SAR ADCs from what I understand. Going the HAL way like I did in the TrueStudio seems not to work even all the nesseccary libs are available.
My questions:
Regards.
The text was updated successfully, but these errors were encountered: