RSS Bot Posted September 16 Share Posted September 16 Description This pull requests adds a device tree overlay for the Odroid C4 enabling hardware SPI on pins 19, 21, 23 and 24 on the GPIO header. It doesn't require any other changes, except one additional line in the Makefile. Besides, it can replace the old device tree meson-sm1-odroid-c4-spidev.dtb (which activates wrong pins and doesn't work due to this) while offering more flexibility. How Has This Been Tested? The SPI communication has been successfully tested with a LogicPort analyzer and some custom made FPGA board (SPI readout of a Mamamatsu silicon spectrometer). [x] Logic Analyzer: timing of MOSI vs. SCK has been verified, maximum speed is about 12MHz for SCK [x] data transfer between C4 and spectrometer FPGA has been tested Checklist: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [x] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article Link to comment Share on other sites More sharing options...
Recommended Posts