About 22,100 results
Open links in new tab
  1. spidev · PyPI

    Nov 3, 2022 · Python Spidev. This project contains a python module for interfacing with SPI devices from user space via the spidev linux kernel driver. All code is MIT licensed unless explicitly stated otherwise. Usage import spidev spi = spidev. SpiDev spi. open (bus, device) to_send = [0x01, 0x02, 0x03] spi. xfer (to_send) Settings import spidev spi = spidev.

  2. This module defines an object type that allows SPI transactions on hosts running the Linux kernel. The host kernel must have SPI support and SPI device interface support. All of these can be either built-in to the kernel, or loaded from modules.

  3. SPI userspace API — The Linux Kernel documentation

    It used to be supported to define an SPI device using the “spidev” name. For example, as .modalias = “spidev” or compatible = “spidev”. But this is no longer supported by the Linux kernel and instead a real SPI device name as listed in one of the tables must be used.

  4. doceme/py-spidev - GitHub

    This project contains a python module for interfacing with SPI devices from user space via the spidev linux kernel driver. All code is MIT licensed unless explicitly stated otherwise.

  5. The Linux Kernel Archives

    You can unbind by removing the "spidev" driver module, which will affect all devices using this driver. You can also unbind by having kernel code remove the SPI device, probably by removing the driver for its SPI controller (so its spi_master vanishes).

  6. How to use SPI from Linux userland with spidev - stm32mpu

    Enable spidev by adding a compatible spidev. Add a reg property, required for the SPI framework but not meaningful in this case since chip select is not defined and loopback is used. Configure the bus speed for SPI communications by setting the spi-max-frequency property.

  7. Python spidev – module_debug

    Jan 12, 2025 · What is spidev? spidev is a Python library that provides bindings for the Linux SPI device interface. It allows Python programs to communicate with SPI devices by providing methods to configure the SPI bus and transfer data.

  8. GitHub - OnionIoT/python-spidev: Python module for interfacing …

    This project contains a python module for interfacing with SPI devices from user space via the spidev linux kernel driver. This is a modified version of the code originally found here. All code is GPLv2 licensed unless explicitly stated otherwise. Full …

  9. linux/Documentation/spi/spidev.rst at master - GitHub

    It used to be supported to define an SPI device using the "spidev" name. For example, as .modalias = "spidev" or compatible = "spidev". But this is no longer supported by the Linux kernel and instead a real SPI device name as listed in one of the tables must be used.

  10. SPIdev - linux-sunxi.org

    In the linux kernel the SPI works only in master mode. There is a way of using the spi kernel driver to work as a device in the userspace. It's called SPIdev. In tools/spi (http://lxr.free-electrons.com/source/tools/spi/) you will find:

  11. Some results have been removed
Refresh