8000 Add support for I2S on GPIO 28-31 for use with RPi V1 Model B P5 header · Issue #267 · rsta2/circle · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add support for I2S on GPIO 28-31 for use with RPi V1 Model B P5 header #267
Closed
@diyelectromusic

Description

@diyelectromusic

It would be really neat to be able to add support for the I2S interface on the original Raspberry Pi V1 Model B. This is available via GPIO 28-31 via the "ALT 2" alternative functions on the extra P5 header near the original 26-way header.

I've added it to my own environment by adding a conditional compilation option (based on a new setting in circle/include/sysconfig.h) for i2ssoundbasedevice in the function CI2SSoundBaseDevice::RunI2S to use GPIO 28-31 and ALT 2 rather than GPIO 18-21 and ALT 0. This works for me, but I wonder if it would be better to add a cmdline option to make it a boot-time configuration setting.

I've not really looked into the boot-time configuration options, otherwise I'd have a go myself. If this is something you'd be interested in adding that would be great. If it is something you are interested in, but unlikely to get around to then let me know and I'll see if I can create a PR to do it myself (although I'm still a bit of a GitHub newbie at the moment, but I'm happy to have a go).

Many thanks,
Kevin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0