How can I tell if the SPI interface is enabled? On Wednesday, January 20, 2021 at 7:24:32 AM UTC+10 Yendor wrote:
> Hi, > Carrying on from the SeeedStudio SenseCAP Gateway hacking form this > conversation (https://groups.google.com/g/beagleboard/c/Y_Zx_D2HJUA) > > I am now looking to get the LoRa interface working, the interface is a > mPCIe SPI RAK2247 > <https://docs.rakwireless.com/Product-Categories/WisLink/RAK2247/Overview/> > LoRa card connector. > > The things I think I need to find out how to do: > > - Identify the correct SPI bus for the connector; > - and what GPIO drives the reset pin (PIN 22) of the connector. > > if anyone has any ideas on the best why to do this, please feel free to > share. > > Regards, > > result of gpioinfo: > gpiochip0 - 32 lines: > line 0: "MDIO_DATA" unused input active-high > line 1: "MDIO_CLK" unused input active-high > line 2: "SPI0_SCLK" "P9_22" input active-high [used] > line 3: "SPI0_D0" "P9_21" input active-high [used] > line 4: "SPI0_D1" "P9_18" input active-high [used] > line 5: "SPI0_CS0" "P9_17" input active-high [used] > line 6: "SPI0_CS1" "cd" input active-low [used] > line 7: "ECAP0_IN_PWM0_OUT" "P9_42" input active-high [used] > line 8: "LCD_DATA12" "P8_35" input active-high [used] > line 9: "LCD_DATA13" "P8_33" input active-high [used] > line 10: "LCD_DATA14" "P8_31" input active-high [used] > line 11: "LCD_DATA15" "P8_32" input active-high [used] > line 12: "UART1_CTSN" "P9_20" input active-high [used] > line 13: "UART1_RTSN" "P9_19" input active-high [used] > line 14: "UART1_RXD" "P9_26" input active-high [used] > line 15: "UART1_TXD" "P9_24" input active-high [used] > line 16: "GMII1_TXD3" unused input active-high > line 17: "GMII1_TXD2" unused input active-high > line 18: "USB0_DRVVBUS" unused input active-high > line 19: "XDMA_EVENT_INTR0" "A15" input active-high [used] > line 20: "XDMA_EVENT_INTR1" "P9_41" input active-high [used] > line 21: "GMII1_TXD1" unused input active-high > line 22: "GPMC_AD8" "P8_19" input active-high [used] > line 23: "GPMC_AD9" "P8_13" input active-high [used] > line 24: "NC" unused input active-high > line 25: "NC" unused input active-high > line 26: "GPMC_AD10" unused input active-high > line 27: "GPMC_AD11" unused input active-high > line 28: "GMII1_TXD0" unused input active-high > line 29: "RMII1_REFCLK" unused input active-high > line 30: "GPMC_WAIT0" "P9_11" input active-high [used] > line 31: "GPMC_WPN" "P9_13" input active-high [used] > gpiochip1 - 32 lines: > line 0: "GPMC_AD0" "P8_25" input active-high [used] > line 1: "GPMC_AD1" "P8_24" input active-high [used] > line 2: "GPMC_AD2" "P8_05" input active-high [used] > line 3: "GPMC_AD3" "P8_06" input active-high [used] > line 4: "GPMC_AD4" "P8_23" input active-high [used] > line 5: "GPMC_AD5" "P8_22" input active-high [used] > line 6: "GPMC_AD6" "P8_03" input active-high [used] > line 7: "GPMC_AD7" "P8_04" input active-high [used] > line 8: "UART0_CTSN" unused input active-high > line 9: "UART0_RTSN" unused input active-high > line 10: "UART0_RXD" unused input active-high > line 11: "UART0_TXD" unused input active-high > line 12: "GPMC_AD12" "P8_12" input active-high [used] > line 13: "GPMC_AD13" "P8_11" input active-high [used] > line 14: "GPMC_AD14" "P8_16" input active-high [used] > line 15: "GPMC_AD15" "P8_15" input active-high [used] > line 16: "GPMC_A0" "P9_15" input active-high [used] > line 17: "GPMC_A1" "P9_23" input active-high [used] > line 18: "GPMC_A2" "P9_14" input active-high [used] > line 19: "GPMC_A3" "P9_16" input active-high [used] > line 20: "GPMC_A4" unused input active-high > line 21: "GPMC_A5" "beaglebone:green:usr0" output active-high > [used] > line 22: "GPMC_A6" "beaglebone:green:usr1" output active-high > [used] > line 23: "GPMC_A7" "beaglebone:green:usr2" output active-high > [used] > line 24: "GPMC_A8" "beaglebone:green:usr3" output active-high > [used] > line 25: "GPMC_A9" unused input active-high > line 26: "GPMC_A10" unused input active-high > line 27: "GPMC_A11" unused input active-high > line 28: "GPMC_BE1N" "P9_12" input active-high [used] > line 29: "GPMC_CSN0" "LS_BUF_EN" output active-high [used] > line 30: "GPMC_CSN1" "P8_21" input active-high [used] > line 31: "GPMC_CSN2" "P8_20" input active-high [used] > gpiochip2 - 32 lines: > line 0: "GPMC_CSN3" unused input active-high > line 1: "GPMC_CLK" "P8_18" input active-high [used] > line 2: "GPMC_ADVN_ALE" "P8_07" input active-high [used] > line 3: "GPMC_OEN_REN" "P8_08" input active-high [used] > line 4: "GPMC_WEN" "P8_10" input active-high [used] > line 5: "GPMC_BE0N_CLE" "P8_09" input active-high [used] > line 6: "LCD_DATA0" "P8_45" input active-high [used] > line 7: "LCD_DATA1" "P8_46" input active-high [used] > line 8: "LCD_DATA2" "P8_43" input active-high [used] > line 9: "LCD_DATA3" "P8_44" input active-high [used] > line 10: "LCD_DATA4" "P8_41" input active-high [used] > line 11: "LCD_DATA5" "P8_42" input active-high [used] > line 12: "LCD_DATA6" "P8_39" input active-high [used] > line 13: "LCD_DATA7" "P8_40" input active-high [used] > line 14: "LCD_DATA8" "P8_37" input active-high [used] > line 15: "LCD_DATA9" "P8_38" input active-high [used] > line 16: "LCD_DATA10" "P8_36" input active-high [used] > line 17: "LCD_DATA11" "P8_34" input active-high [used] > line 18: "GMII1_RXD3" unused input active-high > line 19: "GMII1_RXD2" unused input active-high > line 20: "GMII1_RXD1" unused input active-high > line 21: "GMII1_RXD0" unused input active-high > line 22: "LCD_VSYNC" "P8_27" input active-high [used] > line 23: "LCD_HSYNC" "P8_29" input active-high [used] > line 24: "LCD_PCLK" "P8_28" input active-high [used] > line 25: "LCD_AC_BIAS_EN" "P8_30" input active-high [used] > line 26: "MMC0_DAT3" unused input active-high > line 27: "MMC0_DAT2" unused input active-high > line 28: "MMC0_DAT1" unused input active-high > line 29: "MMC0_DAT0" unused input active-high > line 30: "MMC0_CLK" unused input active-high > line 31: "MMC0_CMD" unused input active-high > gpiochip3 - 32 lines: > line 0: "GMII1_COL" unused input active-high > line 1: "GMII1_CRS" unused input active-high > line 2: "GMII1_RXER" unused input active-high > line 3: "GMII1_TXEN" unused input active-high > line 4: "GMII1_RXDV" unused input active-high > line 5: "I2C0_SDA" unused input active-high > line 6: "I2C0_SCL" unused input active-high > line 7: "EMU0" unused input active-high > line 8: "EMU1" unused input active-high > line 9: "GMII1_TXCLK" unused input active-high > line 10: "GMII1_RXCLK" unused input active-high > line 11: "NC" unused input active-high > line 12: "NC" unused input active-high > line 13: "USB1_DRVVBUS" unused input active-high > line 14: "MCASP0_ACLKX" "P9_31" input active-high [used] > line 15: "MCASP0_FSX" "P9_29" input active-high [used] > line 16: "MCASP0_AXR0" "MCASP0_AHCLKR" output active-high [used] > line 17: "MCASP0_AHCLKR" "P9_28" input active-high [used] > line 18: "MCASP0_ACLKR" "P9_92" input active-high [used] > line 19: "MCASP0_FSR" "P9_27" input active-high [used] > line 20: "MCASP0_AXR1" "P9_91" input active-high [used] > line 21: "MCASP0_AHCLKX" "P9_25" input active-high [used] > line 22: "NC" unused input active-high > line 23: "NC" unused input active-high > line 24: "NC" unused input active-high > line 25: "NC" unused input active-high > line 26: "NC" unused input active-high > line 27: "NC" unused input active-high > line 28: "NC" unused input active-high > line 29: "NC" unused input active-high > line 30: "NC" unused input active-high > line 31: "NC" unused input active-high > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/02816dce-8292-4276-b8d3-fcea1ba17d8fn%40googlegroups.com.
