please choosego to mobile | Continue to access the PC version
View: 11762|Reply: 60

I2s Bus on OPI anyone tryed really works?

[Copy link]

2

threads

4

posts

62

credits

Registered member

Rank: 2

credits
62
Published in 2016-1-14 15:57:51 | Show all floors |Read mode
Im very interesed in someone can try if i2s bus is working on OPI and if can confirm that works what OPI version had.

For now i cannot see no one can use i2s on any version of OPI board, and that is so far best method to attach a DAC (with a very high quality audio) to a mini computer board like OPI, rpi, Beagle, etc...

Please, can some one make that little job and try wire i2s bus from OPI to any DAC board, and post here the results?

Thank you.


0

threads

6

posts

1145

credits

Gold member

Rank: 6Rank: 6

credits
1145
Published in 2016-2-13 06:18:17 | Show all floors

2

threads

4

posts

62

credits

Registered member

Rank: 2

credits
62
 Author| Published in 2016-2-5 15:05:24 | Show all floors
Bump !!!!!!  

0

threads

1

posts

6

credits

Novice

Rank: 1

credits
6
Published in 2016-5-5 22:53:33 | Show all floors
Edited by AndyFahey at 2016-5-7 03:51

Hi..i am new to this forum. I don't have much experience with the I2S but as per my knowledge you can use the I2S with the all boards about which you are asking.
I think they all support the I2S communication, But still you can check from their manuals. About I2C i am sure that they support it.

printed circuit assembly

2

threads

3

posts

94

credits

Registered member

Rank: 2

credits
94
Published in 2016-5-6 06:02:36 | Show all floors
Edited by drushtx at 2016-5-6 06:10


All of the work in the development of the IP Address Module and the subsequent code and documentation are the work of Jason Mann.  His installation instructions work perfectly on the Raspberry Pi.

I took the crazy step of attempting to install his module into an Orange Pi - first the Orange Pi PC then the Orange Pi One.  The steps and process were identical except for the orientation of the GPIO header.  I encountered some interesting roadblocks and hurdles.  My gratitude goes out to Jason who was a tireless source of help and ideas in getting over the coding hurdles and to my good friend and co-worker Michael Smeyer for his functional knowledge of Linux in helping me get through many of the general stumbling points.

The world of Orange Pi is an unstable one, with likely 1% or less of the community size owning, using and developing resources.  There are a handful of extremely dedicated folks working in this arena.  Special thanks to Laboris for his work on the Ubuntu image and to WareCatF and others for their work on the WiringOP library.

There are a few challenges in getting the module to work on an Orange Pi:

Installation

Support Packages need to be updated and installed

IP_Address Module Installation and customization

Installation -

Install the IP Address module - carefully!  The GPIO pin header is installed "backwards" on the Orange Pi compared to the Raspberry Pi.  On the Raspberry Pi, pin 1 of the header is in the "inside" side of the Pi whereas on the Orange Pi, pin 1 of the header is on the outside edge of the board.  The module will not mount over the board but will hang over the side.  The Orange Pi PC has pin one on the inside but it is reverse order from the Raspberry Pi.  The IP Address module will sit over the board, not hang over the edge.  In either case, install pin 1 of the IP Address module to pin 1 of the GPIO header and pin 25 to pin 25 and you're all set.  


I used the Laboris image - Ubuntu-Vivid (Ubuntu Mate)

Initial power up:

After installing the module, apply power to the Orange Pi.  The system should boot normally.  The display should cycle through a count up of 001 through 004 and repeat.


Support Package update and installation -

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install build-essential
sudo apt-get install automake
sudo apt-get install make
sudo apt-get install git
sudo apt-get install python-numpy  (*** NOTE This library is needed by the python-smbus installed as part of Jason's instructions.  The distro I used was missing python-numpy. ***)

git clone https://github.com/zhaolei/WiringOP.git -b h3

cd WiringOP
chmod +x ./build
sudo ./build

The test:
gpio readall

The next test:

sudo i2cdetect -y 0

sudo i2cdetect -y 1

One of these two commands should generate a result of 5a in the grid.

IP_Address Module Installation and customization -

Once the script successfully builds and the test runs, it's time to install support for the IP Display

From Jason's installation manual (with minor modifications):

sudo apt-get update
sudo apt-get install python-smbus i2c-tools (*** Note - you may see a message that i2c-tools is already the most current version from having installed the WiringOP.git.  Just say "Y" to the install ***)

git clone https://github.com/tuxmann/Raspberry_IP_Addr.git

sudo nano /etc/modules

Install communications software to talk to the Pi IP address board
Add these lines to the modules file:

i2c-bcm2708
i2c-dev

Ctrl-X and save


Enable I2C communication
sudo nano /etc/modprobe.d/raspi-blacklist.conf

Comment out the line that says blacklist i2c-bcm2708 by preceeding it with a # sign
(note - there is no raspi-blacklist.conf in Opi.  the blacklist.conf file has an i2c-1801 blacklisted but it should not be remarked out)

sudo nano /pathtoRaspberry_IP_Addr folder/hostip.py
change the line that says: bus = smbus.SMBus(1) # 0 = /dev/i2c-0 (port I2C0), 1 = /dev/i2c-1 (port I2C1)
to say bus = smbus.SMBus(0) # 0 = /dev/i2c-0 (port I2C0), 1 = /dev/i2c-1 (port I2C1)
Exit and save

Gain root access and ad the python script to run at startup

sudo su
crontab -e

Add this line to chrontab:

@reboot python /home/orangepi/Raspberry_IP_Addr/hostip.py

in my case, the path to hostip.py is different - use the appropriate path:  @reboot python /home/orangepi/WiringOP/Raspberry_IP_Addr/hostip.py

(*** you may have to sudo nano crontab to add the line.  If the line does not stay, use sudo crontab -e)

sudo reboot

On reboot, the module should cycle through 001 002 003 004 during intitial power up.  When the hostip.py program runs, the display will cycle through 255 000 until an IP address is assigned.  Once the system has it's IP address, the display will cycle through the four octets of the address.  

The SD card is interchangeable between the OPi One and the OPi PC.  It is critical to make sure that the module is installed Pin 1 to Pin 1 on the GPIO pins.  The GPIO pins are rotated 180 degrees from the One to the PC so when installing on the PC, the module sits above the board but when installing on the One, it hangs over the side.  A 26 pin tall Header adapter makes it possible to install the module for either board with the OPi being installed in a case.

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

0

threads

3

posts

18

credits

Novice

Rank: 1

credits
18
Published in 2023-7-10 12:38:28 | Show all floors
To determine if the I2S bus on the Orange Pi 4B slither io works and how to utilize it, it's recommended to refer to the official documentation, forums, or online communities dedicated to Orange Pi development.

1

threads

133

posts

727

credits

Senior member

Rank: 4

credits
727
Published in 2023-8-12 21:30:21 | Show all floors
Decent Blog post, My group is a good believer on advertisment observations at online sites to help you allow web log people know they’ve applied a product favorable to help you the online world!        slot gacor

1

threads

133

posts

727

credits

Senior member

Rank: 4

credits
727
Published in 2023-8-13 16:13:49 | Show all floors
I just astounded aided by the test most people made to choose this specified share wonderful. Marvelous recreation!        ramshot tac

1

threads

133

posts

727

credits

Senior member

Rank: 4

credits
727
Published in 2023-8-15 18:24:00 | Show all floors
Superb blog post. Any place strikes numerous pressing obstacles of your modern culture. People can not be uninvolved that will those obstacles. The place delivers guidelines together with thoughts. Rather interesting together with handy.        กองสลากพลัส

1

threads

133

posts

727

credits

Senior member

Rank: 4

credits
727
Published in 2023-8-15 21:50:12 | Show all floors
Terrific short article. All the content has an affect on a large amount of emergency worries of our population. Everyone can not be uninvolved to make sure you all of these worries. This approach content gives you plans and additionally techniques. Particularly revealing and additionally effective.        먹튀검증
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list