circuitpython/ports/atmel-samd/common-hal
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
..
analogio Fix #ifdefs in port.c to call xxx_reset() rroutines properly. Remove most uses of EXPRESS_BOARD. 2019-02-18 22:44:31 -05:00
audiobusio samd: audio_dma: Track channel allocation 2019-08-28 17:00:22 -05:00
audioio AnalogOut / AudioOut: Copy settings from Arduino 2019-09-15 11:30:49 -05:00
board Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
busio Disable bitbangio on Itsy M0 2019-08-27 15:21:47 -07:00
digitalio Fix crash when getting board.SPI outside the VM 2019-04-05 19:06:37 -07:00
displayio Rework based on Dan's review 2019-08-23 15:27:21 -07:00
frequencyio avoid double float arithmetic in FrequencyIn 2019-05-07 00:25:22 -04:00
i2cslave add pin claiming to devices 2018-08-31 18:38:05 -04:00
microcontroller Rework safe mode so we can trigger on all resets 2019-05-09 10:15:28 -07:00
neopixel_write Add pragma to ensure neopixel_write is always -Os 2018-11-13 10:56:00 -08:00
nvm Add stack validity check and raise an error when it happens. 2018-12-04 23:26:04 -08:00
os Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
ps2io Add PS/2 support -- ps2io module 2019-06-04 18:05:46 -03:00
pulseio atmel-samd: Use RUN_BACKGROUND_TASKS 2019-08-11 08:53:02 -05:00
rotaryio typo in IncrementalEncoder.c 2019-08-20 16:23:17 -04:00
rtc Support internationalisation. 2018-08-07 14:58:57 -07:00
supervisor merge 3.x swap of /lib and .frozen; update frozen libs 2018-11-15 15:00:23 -05:00
time Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
touchio merge from upstream and make translate 2019-08-20 13:06:23 -04:00