Hi all, iam hving difficulties in getting my can stuff working witt BBB ReavA5A and a CAN SPI [Click]
The can MCP2515 is connected to the following pins on the BBB: RST P9.12 GPIO1_28 7 30 0x878/078 60 CS P9.28 SPI1_CS0 3 103 0x99c/19c 113 SCK P9.31 SPI1_SCLK 3 100 0x990/190 110 MISO P9.29 SPI1_D0 3 101 0x994/194 111 MOSI P9.30 SPI1_D1 3 102 0x998/198 112 INT P9.15 GPIO1_16 7 16 0x840/040 48 +3.3V P9.3 - P9.4 VDD_3V3EXP - - - - GND P9.43 - P9.46 GND - - - - This is a CAN SPI Click (Mikroelektronika, BaseCape is a MikroBusCape from [https://www.tigal.com/wiki/doku.php?id=tigalcapes:bb_mikrobus_cape] my DTS is attached it is derived from Towertechs's dts since it uses the same chip. Everything seems to work, dmesg: [ 63.667260] mcp251x spi1.0: mode 0, irq 197, awake 1, clkout 0, oscillator freq 10000000 [ 63.678535] mcp251x spi1.0 can0: probed ip link set works, but i never get an interrupt down the line. Towertech's dts used labels for gpio4 (which seems to be gpio3 in reality). i would use gpio1_16 for int, so i referenced it as &gpio2, but as said before i never received an interrupt, my guess is that i messed up something with the gpio's. Anyone can give me a hint on setup/DTS-configuration? so far, Ferdinand -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
BB-MIKROBUS-01-00A1.dts
Description: Binary data
