Jump to content

leonidy-85

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    leonidy-85 reacted to René Kliment in Mali support announced for mainline (Allwinner SOC's)   
    This is my very dirty script that seems to work for me: https://gist.github.com/renekliment/707ea4a2dc3f11fc15ed8085f506c57e
  2. Like
    leonidy-85 reacted to Stefan Huus Gregersen in Orange Pi Zero I2S   
    Good job mate! Now it is just about finding out where things are connected, it sadly requires a multimeter next step.
    Above R157 there is a resistor called R40, to find out which leg we'll use as data out for the DAC you'll have to measure which pad of the two resistors have a connection, as seen on the USB plug R40 puts R157 to 3.3v. When you know which pad is 3.3v please inform me and next step would be to remove R157 and solder a wire to it so you can connect it to your DAC.. Man i wish i had a newer board so i could try it out..

  3. Like
    leonidy-85 reacted to andrikll in Orange Pi Zero I2S   
    Just the difficulty of understanding the translation.

    I'm not sure those are the resistance. I am attaching the measurements, as well isvery top point r65 r68 Inn on the diagram are not soldered) here there is 12.2 K and 1.3 K to 3.3v point. May indicate the source of the schemes and there are different generations at version1.4 Board?
  4. Like
    leonidy-85 reacted to andrikll in Orange Pi Zero I2S   
    a-3.3v 3.26kom b-3.3v 2.47kom c-3.3v 3.2 kom d-3.3v 0 om e-3.3v 1.3kom f-3.3v 12.2kom

  5. Like
    leonidy-85 reacted to Stefan Huus Gregersen in Orange Pi Zero I2S   
    Hello folks,
     
    Been working on making I2S dacs work on the Orange Pi Zero, after reading on a few pages i got crazy and almost gave up and then i did some playaround and managed to make it work! And this is how i did!
    I am using examples from the topic here, as it was well written until i had to figure things out myself because of that stupid wifi_enable on PA20 which also is the data out on the OPI zero
    Thread: https://forum.armbian.com/topic/759-i2s-on-orange-pi-h3/


    First up it requires a bit of soldering, removing the R69 and adding a small wire is required to access the DIN(data in) or so called PA20. What i did was just simply adding a header so i can just connect it there as shown

     
    After you have added the resistor it is time to wire up the device.  For my example im using the PCM5102 board as example. You can buy it really cheap on Aliexpress and ebay!


    Afterwards it is time to configure the device. Start by entering the script file
    cd /boot sudo bin2fex script.bin script.fex sudo nano script.fex Then we'll have to change the following
     
    [twi1] twi_used = 1 to
     
    [twi1] twi_used = 0 and 
    [pcm0] daudio_used = 0 to 
    [pcm0] daudio_used = 1 Then the part that i have discovered 
    Because of the PA20 is used to enable the wifi it would not work with the sound card unless you change the PA20 to another pin so now we'll have to do the following
    Find the following and change it:
    [smc_para] smc_used = smc_rst = port:PA09<2><default><default><default> smc_vppen = port:PA20<3><default><default><default> Change it to
    smc_vppen = port:PA02<3><default><default><default> Find 
     
    [module_para] module_power0 = port:PA20<1><default><default><0> Change it to 
     
    [module_para] module_power0 = port:PA02<1><default><default><0> Then there is another SMC_Para hidden, the only difference is that it is SMC_USED = 0 where the other is SMC_used = 
     
    [smc_para] smc_used = 0 smc_rst = port:PA09<2><default><default><default> smc_vppen = port:PA20<3><default><default><default> And to
     
    [smc_para] smc_used = 0 smc_rst = port:PA09<2><default><default><default> smc_vppen = port:PA02<3><default><default><default>

    That should be it! Save your file and run the last command needed!
    sudo fex2bin script.fex script.bin You can test the audio by using the following command
    speaker-test -twav -c2 -Dhw:1 I am still working on figuring out how to change the default audio device to the I2S. I am a noob in Linux, i am more a hardware man than a software man
    I hope you guys manage to make it work! 
     
  6. Like
    leonidy-85 reacted to zador.blood.stained in Armbian for Odroid C1 and C2   
    @leonidy-85
     
    What is your build host OS release?
     
    In case it is 15.10 Wily (x64) or 16.04 Xenial (x64), you need to install linaro 4.9 toolchain to compile u-boot for C1.
    Next to "lib", "userpatches", "output" and "sources" there should be "toolchains" directory.
    cd toolchains wget "https://releases.linaro.org/components/toolchain/binaries/4.9-2016.02/arm-linux-gnueabihf/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf.tar.xz" tar xf gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf.tar.xz and repeat compilation.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines