ports/esp32/components/woz_uwb/port/board_pins.h
asxeem/openaliro
Module

board_pins.h

DW3000 (DWM3000EVB) wiring per ESP32 target, SPI2/FSPI. Source of truth for…

ports/esp32/components/woz_uwb/port/board_pins.h

Overview

DW3000 (DWM3000EVB) wiring per ESP32 target, SPI2/FSPI. Source of truth for the wiring table in docs/esp32-bringup.md. Change to match how the DWM3000EVB is soldered to your board.

used by dw3000_hw.c dw3000_spi.c

API

##define WOZ_DW3000_SPI_HOST SPI2_HOST

ports/esp32/components/woz_uwb/port/board_pins.h:10

##define WOZ_DW3000_PIN_SCLK 8

ports/esp32/components/woz_uwb/port/board_pins.h:16

##define WOZ_DW3000_PIN_MOSI 9

ports/esp32/components/woz_uwb/port/board_pins.h:17

##define WOZ_DW3000_PIN_MISO 23

ports/esp32/components/woz_uwb/port/board_pins.h:18

##define WOZ_DW3000_PIN_SCLK 12

ports/esp32/components/woz_uwb/port/board_pins.h:21

##define WOZ_DW3000_PIN_MOSI 11

ports/esp32/components/woz_uwb/port/board_pins.h:22

##define WOZ_DW3000_PIN_MISO 13

ports/esp32/components/woz_uwb/port/board_pins.h:23

##define WOZ_DW3000_PIN_CS 10

ports/esp32/components/woz_uwb/port/board_pins.h:26

##define WOZ_DW3000_PIN_RST 4

ports/esp32/components/woz_uwb/port/board_pins.h:27

##define WOZ_DW3000_PIN_IRQ 5

ports/esp32/components/woz_uwb/port/board_pins.h:28

##define WOZ_DW3000_PIN_WAKEUP 6

ports/esp32/components/woz_uwb/port/board_pins.h:29

##define WOZ_DW3000_SPI_SLOW_HZ 2000000

ports/esp32/components/woz_uwb/port/board_pins.h:33

##define WOZ_DW3000_SPI_FAST_HZ 8000000

ports/esp32/components/woz_uwb/port/board_pins.h:34