circuitpython/ports/atmel-samd/asf4_conf/samd51
jepler 61698eb5d8 AnalogOut / AudioOut: Copy settings from Arduino
Make changes in asf4_conf even though I think in these cases the
"peripherals" submodule is running the show.

Arduino clocks the DAC at 12MHz but uses the CCTRL setting for
clocking < 1.2MHz (100kSPS).

A fresh clock (6) is allocated for the new 12MHz clock.  This matches
the Arduino value, though not the GCLK index.

Modify other settings to more closely resemble Arduino.

In AudioOut, actually clock the waveform data from the timer we set up
for this purpose.

This gives good waveforms when setting AnalogOut full-scale in a loop,
but the rise/fall of waveforms that come from AudioOut are still erratic.
Weirdly, if AudioOut limits its range even slightly (e.g., to 1000..64000)
then the erratic

Note that this will require https://github.com/adafruit/samd-peripherals/pull/26
to be accepted for the submodule update here to work.
2019-09-15 11:30:49 -05:00
..
hpl_adc_config.h ports/atmel-samd: Re-enable analogio 2018-02-08 14:48:08 -08:00
hpl_dac_config.h AnalogOut / AudioOut: Copy settings from Arduino 2019-09-15 11:30:49 -05:00
hpl_dmac_config.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
hpl_gclk_config.h AnalogOut / AudioOut: Copy settings from Arduino 2019-09-15 11:30:49 -05:00
hpl_mclk_config.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
hpl_nvmctrl_config.h atmel-samd: Turn off nvmctl cache and rework active_read. 2017-11-08 16:01:38 -08:00
hpl_osc32kctrl_config.h atmel-samd: Fix M4 RTC and ItsyBitsy M4 definition 2018-04-19 14:42:03 -04:00
hpl_oscctrl_config.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
hpl_rtc_config.h atmel-samd: Add rtc module support 2018-04-16 13:15:08 +02:00
hpl_sercom_config.h Implement UART for 3.0 + related fixes. 2018-02-21 17:18:49 -05:00
hpl_systick_config.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
hpl_tc_config.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
hpl_trng_config.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
hpl_usb_config.h WIP: seems to be done 2018-04-02 19:08:18 -04:00
peripheral_clk_config.h AnalogOut / AudioOut: Copy settings from Arduino 2019-09-15 11:30:49 -05:00
usbd_config.h atmel-samd: update to October 2017 ASF4. 2017-11-02 12:19:50 -07:00