Coder Social home page Coder Social logo

raspberrypi_i2s_slave's Introduction

RaspberryPi_I2S_Slave

General I2S slave I/O device tree overlay for Raspberry pi.
Tested with Raspberry pi Compute Module 3+ and Asahi Kasei AK4556.

  • I2S slave: Raspberry pi
  • I2S master: Audio codec(ex. AK4556)

I2S Master version

How to use

Compile on Raspberry Pi

dtc -@ -H epapr -O dtb -o genericstereoaudiocodec.dtbo -Wno-unit_address_vs_reg genericstereoaudiocodec.dts

Copy i2smaster.dtbo to /boot/overlays

sudo cp genericstereoaudiocodec.dtbo /boot/overlays

Edit /boot/config.txt
Enable I2S and add i2smaster device tree overlay

#dtparam=i2c_arm=on
dtparam=i2s=on
#dtparam=spi=on
dtoverlay=genericstereoaudiocodec

If you don't need HDMI audio output and Raspberry Pi's headphone output, comment out "dtparam=audio=on" by hash.
like this.

#dtparam=audio=on

raspberrypi_i2s_slave's People

Contributors

akiyukiokayasu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

raspberrypi_i2s_slave's Issues

Support sampling rate

Hi, i found that only work at PCM44.1K to PCM192K, would you plesae tell me how to change this feature? Higher sample rate and DSD suported is what i need, thanks

i2c for Fs management

Hello, Akiyuki.

Thank you for great driver. Is it possible to add i2c management in order to switch external clocking (BCK, LRCK), in similar way as HATs doing, like Hifiberry etc?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.