Using an SPI bus on the iMx6 from within Android

Discussion in 'General Programming Discussion' started by bfrost, Dec 16, 2014.

  1. bfrost

    bfrost New Member

    Joined:
    Dec 16, 2014
    Messages:
    2
    Likes Received:
    0
    Hi, I see a lot of discussion about access to the iMx6 registers from software but I'm fairly new to this and could do with some pointers. I'm running a Delphi-generated App under Android on a Quad UDOO and I want to use an SPI bus to access the outside world (rather than USB etc). I see that there are several SPI busses potentially available. Do they have to be enabled through some pin muxing? Will I need to recompile the kernel? Finally, how can I get access to the SPI bus from software? I'd really like a file handle to perform read / write. Does anyone have an example?
    Thanks for any help.
     

Share This Page