ADC input pins

Home Forums Creator Platforms ADC input pins

This topic contains 4 replies, has 3 voices, and was last updated by  ZubairLK 1 year, 12 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #63772

    axtion
    Participant

    Can anyone explain how to read the ADC pin called AUX1 on Expansion Header 2 of the V2 board? I’m hoping there are some Linux drivers in place already. If it isn’t stock in the 3.18.3-ci20-1 distro, can anyone point me to some drivers that will give me access to these ADC input pins? I’m also hoping I can use each of these analog inputs individually, and not as a touch screen, or other device.

    #63776

    ZubairLK
    Participant

    Hi Axtion,

    We fixed this[1] but haven’t released the kernel yet with the fix.

    Still working on it.. Apologies for the delay

    Regards,
    ZubairLK

    [1] https://github.com/MIPS/CI20_linux/commit/17bbaec09a3bb021cb22e68d6b8f549ab31ade35

    #63775

    axtion
    Participant

    Hi ZubairLK,

    Thank you for the link.

    1. Which version of kernel should we compile, MIPS/Ci20 or ZubairLK/Ci20 to get these ADC pins working?
    2. If we compile this kernel, will we be able to access the analog input pins?

    Without access to these ADC pins we won’t be able to include the Ci20 as part of our system. 🙁

    Thanks,
    a

    #63774

    harveyhunt
    Participant

    Hi Axtion,

    If you’d like to compile a kernel yourself, you should use the MIPS repository.

    git clone https://github.com/MIPS/CI20_linux
    cd CI20_linux
    git checkout 17bbaec09a3bb021cb22e68d6b8f549ab31ade35

    If you would prefer, I can provide some debian packages that contain a newer kernel.

    Thanks,

    Harvey

    #63773

    harveyhunt
    Participant

    Hi Axtion,

    I went ahead and built some debian packages for you. You can find them here:

    http://dropcanvas.com/g22f4 (Note, this link will self destruct in 3 days)

    Put them on the Ci20 and then install them using:

    dpkg -i *.deb

    Then run:

    depmod
    reboot

    Thanks,

    Harvey

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Creator Platforms’ is closed to new topics and replies.