-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
tests: drivers: dac loopback test on stm32 boards #56853
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are the changes to the ADC clock dividers required? Would be good to state the reason in the commit message.
If that's a bug in the ADC driver, I'd suggest to open a dedicated PR for that.
removed in this new version |
Added DNM in order to wait until #58932 is merged. |
Change the pinout for ADC/DAC loopback testing on the stm32 boards nucleo_l073rz: adc_in0_pa0/dac_out1_pa4 --> A0 to A2 on arduino CN8 nucleo_g071rb: adc1_in0_pa0/dac1_out1_pa4 --> A0 to A2 on arduino CN8 stm32l562e_dk: adc1_in13_pc4/dac1_out1_pa4 --> A2 to A4 on arduino CN19 Adjust the ACQuisition time to the MAX value because the default (=0) is too low for several boards. Signed-off-by: Francois Ramu <[email protected]>
Rebased on c8a9634 --> all tests PASSED on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates.
Add configuration to run the tests/drivers/dac/dac_loopback on more stm32 platforms.
Adapting the ADC input channels for running the testcase tests/drivers/dac/dac_loopback on
(new version of the #50742)
nucleo_l073rz adc1 input read from A0 --> connect to A2 on CN8
nucleo_g071rb adc1 input read from A0 --> connect to A2 on CN8
stm32l562e_dk adc1 input 13 from A4 --> connect to A2 on CN19
Requires the #58931
Add the connection on the hw board and the dac_adc_loopback fixture to Pass the test.
Signed-off-by: Francois Ramu [email protected]