Building on top of <a href="http://rdimitrov.twistedsanity.net/blog/show.php?entry=Microcontroller%20Class%20D%20Amplifier,%20Rev2">Rouslan Dimitrov's Microcontroller Class D Amplifier</a>, I developed the idea to feed the power amplifier with PCM data directly. Rouslan does some dithering and noise shaping, but I'm convinced that proper interpolation would sound better. The ATtiny is too slow to do even cubic interpolation so I'll move that into the host.

The result should be an ALSA driver, that does <a href="http://en.wikipedia.org/wiki/Upsampling">upsampling</a> of 44.1 or 48 kHz to about 240 kHz (the Class-D <a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">PWM frequency</a>) and sends it over preferably, but not limited to, <a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus">SPI</a> towards the AVR, which will drive the power FETs with its PWM outputs. This can give any (embedded) linux system the right audio "punch" with a fairly short <a href="http://en.wikipedia.org/wiki/Bill_of_materials">BOM</a>.

Looking for hackers with the skills:

alsa arm arduino kernel mips hardware

This project is part of:

Hack Week 10

Activity

  • over 7 years ago: duwe added keyword "hardware" to this project.
  • over 7 years ago: duwe added keyword "mips" to this project.
  • over 7 years ago: duwe added keyword "kernel" to this project.
  • over 7 years ago: cyberiad liked this project.
  • over 7 years ago: duwe liked this project.
  • over 7 years ago: duwe added keyword "alsa" to this project.
  • over 7 years ago: duwe added keyword "arm" to this project.
  • over 7 years ago: duwe added keyword "arduino" to this project.
  • over 7 years ago: duwe started this project.
  • over 7 years ago: duwe originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    bare metal openQA for arm boards by mbrugger

    [comment]: # (Please use the project descriptio...


    work on sunxi a64 cpufreq driver (for teres-1, pine64) by mbrugger

    With the teres-1 [1] laptop we have a first arm...


    DRM driver for USB-based SiS graphics cards by tdz

    Back in the late 90s to early 2000s, SiS graphi...


    work on sunxi a64 cpufreq driver (for teres-1, pine64) by mbrugger

    With the teres-1 [1] laptop we have a first arm...


    Separate kernel module signature to a independent file by joeyli

    [comment]: # (Please use the project descriptio...


    Test mainline kernel on an older Qualcomm SOC (msm89xx), explore current Qualcomm mainlining kernel effort by pvorel

    Project Description

    Qualcomm concentrate ...


    Python bindings for Bosch Sensortec Environmental Cluster (BSEC) library by scabrero

    Project Description

    The BSEC library prov...


    work on sunxi a64 cpufreq driver (for teres-1, pine64) by mbrugger

    With the teres-1 [1] laptop we have a first arm...


    Remote alarm system using RaspberryPi pico for box room by scabrero

    [comment]: # (Please use the project descriptio...