spi_gpio - gpio references for J5 Pin 2, 3, 4, 6.

  • SPI compatibliy between netDCU10 & netDCUA5 moved from "J5 Pin 2, 3, 4, 6" to "J5 Pin 10, 11, 13, 15" - These pins are also used by our i2c bus.
    An alternative would be the kernel included spi_gpio driver. For the spi_gpio driver initialization we do need the gpio references ( gpio_request_one(...) ) for J5 Pin 2, 3, 4, 6.


    Thanks

  • Yes the SPI on pins 2, 3, 4, 6 on NetDCU8/10 was different to other NetDCUs. Usually a NetDCU can only support either I2C or SPI and they use the pins like on NetDCUA5.


    But yes, your idea to use a software based SPI should work. At least if you do not have a too high transfer speed. Otherwise you could also consider using the native SPI on pins 10, 11, 13, 15 and use a software I2C on two other pins. This is usually the better solution as I2C has not such high data rates as SPI.


    Yes, your gpio numbers are correct.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.