Using SPI


  • Hi,

    I am very new to working with embedded devices, but I am trying to communicate with a device connected to the SPI1 header pins on the Amston Lake board. I am able to see in the kernel that SPI1 is there and I am able to see that there is a driver for the spidev but the there is no /dev/spidev or dev/bus/spidev. I've been going a bit in circles on how to be able to write to SPI1. I was also going to try to use the mraa repository in case I don't have to mess with these lower level settings but I'm getting errors while trying to install it. Help! Thanks!

    Best,

    Cassandra



  • It's frustrating when hardware setup becomes a roadblock. While using pre-built libraries like mraa can simplify things, addressing the missing /dev/spidev is key. Have you confirmed SPI1 is enabled in your device tree overlay or kernel configuration? Properly enabling SPI through those channels often resolves the device node issue.


  • smashy road is an exhilarating racing game that provides players with an engaging and continuous experience. This game features striking graphics, captivating action, and multiple game modes, making it a must-experience. Experience the thrill and challenge of Smashy Road now!


Please login to reply this topic!