circuitpython/ports/nrf/common-hal
Jeff Epler 13620cc4db nRF: PWMAudioOut: fix half-speed playback of stereo samples
The "spacing" of "buffer structure" is confusing, use the "channel count"
instead.

Testing performed on nrf52840 feather:

Play stereo and mono, 8- and 16-bit, 8kHz RawSamples representing 333.33Hz
square waves.

Use both mono and stereo PWMAudioOut instances.

Scope the RC-filtered signal and use the scope's frequency
measurement function, verify the frequency is 333 or 334Hz in all tested
cases.

In the "stereo output" cases, verify both the L and R channels.  Verify
the output amplitude is the same in both channels.

In the "stereo output" cases, run a second test where the L channel's
amplitude is attenuated 50%. Verify the output amplitude is correct
in each channel.
2019-12-09 10:57:55 -06:00
..
_bleio Merge pull request #2301 from tannewt/support_extended_advertising 2019-12-06 23:51:05 -05:00
analogio change calibration from analogin_reset() to analogin_init() 2019-10-14 23:38:41 -04:00
audiobusio Merge pull request #2324 from jepler/nrf-i2s-channels-widths 2019-11-25 16:59:08 -08:00
audiopwmio nRF: PWMAudioOut: fix half-speed playback of stereo samples 2019-12-09 10:57:55 -06:00
board Remove nRF52832 support 2018-12-30 22:49:20 -05:00
busio Merge remote-tracking branch 'origin/master' into tick-refactor 2019-11-29 11:27:09 -06:00
digitalio Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
displayio Rework based on Dan's review 2019-08-23 15:27:21 -07:00
microcontroller revert error 2019-11-15 13:04:25 -05:00
neopixel_write nrf: Use RUN_BACKGROUND_TASKS 2019-08-11 08:53:02 -05:00
nvm Fix up single-byte access to nvm.ByteArray 2019-04-16 14:53:44 +10:00
os nrf: Rewrite the os common-hal using nrfx 2018-06-27 21:01:07 +02:00
pulseio nRF: PWMOut: At deinit, make pin available again 2019-09-11 20:09:38 -05:00
rotaryio Change pin mode to pullup for adafruit/circuitpython#1045 2019-02-07 09:47:56 +11:00
rtc Remove unnecessary MP_WEAK declarations 2019-04-02 13:33:22 +11:00
supervisor replacing change to input() with separate method to check for USB Serial input 2018-10-09 18:37:52 -04:00
time Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00