-
Notifications
You must be signed in to change notification settings - Fork 33
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
issue with GD32F303C DAC1 #90
Comments
Thank you for quick action, now DAC1 is good with 1.67V output, however I get 0,63V at PA4 (DAC0). it looks to me the DAC0 and 1 can not work at the same time? |
No I think we have another bug. The |
I pushed could you update & retest? |
TERRIFIC!!! now I get the same value at PA4 and PA5, amazing work maxgerhardt ! |
Great! Closing. |
I test below codes in setup with int V_set = 2048
void setup(){
pinMode(PA4, OUTPUT);
pinMode(PA5, OUTPUT);
analogWriteResolution(12);
analogWrite(PA4, V_set);
analogWrite(PA5, V_set);
}
it works good with PA4 (DAC0), measured voltage is 1.67V, however the voltage measured at in PA5 (DAC1) is not expected, it stays at 13mV constantly regardless of the V_set value.
I tested two boards with CC and CG chips, same issue, I assume it much be the software issue.
Thanks
The text was updated successfully, but these errors were encountered: