DAC.NORMAL mode does not write buffer only once in dac.write_timed

Discussion related to "under the hood" OpenMV topics.
ajacobs
Posts: 33
Joined: Fri Aug 07, 2020 7:26 pm

DAC.NORMAL mode does not write buffer only once in dac.write_timed

Postby ajacobs » Fri Aug 07, 2020 7:39 pm

My understanding is that in dac.write_timed the mode=DAC.NORMAL should write the buffer only once to the DAC. In Firmware version 3.6.7 on H7, it looks like the buffer is being written to the DAC continuously.

This is some test code that reproduces the issue, and a scope trace showing the buffer is continuously written to the DAC.


Audio V2.py
(726 Bytes) Downloaded 4 times
Audio V2.py
(726 Bytes) Downloaded 4 times
Attachments
Scope Sine wave DAC_NORMAL.jpg
User avatar
kwagyeman
Posts: 4430
Joined: Sun May 24, 2015 2:10 pm

Re: DAC.NORMAL mode does not write buffer only once in dac.write_timed

Postby kwagyeman » Fri Aug 07, 2020 7:52 pm

Please create a github bug ticket.
Nyamekye,
ajacobs
Posts: 33
Joined: Fri Aug 07, 2020 7:26 pm

Re: DAC.NORMAL mode does not write buffer only once in dac.write_timed

Postby ajacobs » Sat Aug 08, 2020 1:53 am

New to github. Created issue. Is that the correct place for the bug ticket?
User avatar
kwagyeman
Posts: 4430
Joined: Sun May 24, 2015 2:10 pm

Re: DAC.NORMAL mode does not write buffer only once in dac.write_timed

Postby kwagyeman » Sat Aug 08, 2020 11:18 am

Yup
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests