Makerfabs / Makerfabs-ESP32-UWB-DW3000

77 stars 22 forks source link

INIT FAILED #15

Open scinfu opened 7 months ago

scinfu commented 7 months ago

I have this problem with example codes. Anyone know why? i'm using MaUWB_DW3000 with STM32 AT Command SKU MAUWBCA1 https://www.makerfabs.com/mauwb-dw3000-with-stm32-at-command.html

....
12:35:25.319 -> Software Info:
12:35:25.319 -> ------------------------------------------
12:35:25.319 ->   Compile Date/Time : Jan 16 2024 10:37:09
12:35:25.319 ->   Compile Host OS   : macosx
12:35:25.319 ->   ESP-IDF Version   : v5.1.2-185-g3662303f31-dirty
12:35:25.319 ->   Arduino Version   : 3.0.0
12:35:25.350 -> ------------------------------------------
12:35:25.350 -> Board Info:
12:35:25.350 -> ------------------------------------------
12:35:25.350 ->   Arduino Board     : ESP32_DEV
12:35:25.350 ->   Arduino Variant   : esp32
12:35:25.350 ->   Arduino FQBN      : esp32:esp32:esp32wrover:UploadSpeed=921600,FlashFreq=80,FlashMode=qio,PartitionScheme=default,DebugLevel=verbose,EraseFlash=none
12:35:25.383 -> ============ Before Setup End ============
12:35:25.479 -> [  1210][V][esp32-hal-uart.c:409] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(3) txPin(1)
12:35:25.479 -> SS T[  1220][V][esp32-hal-uart.c:409] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(-1) txPin(-1)
12:35:25.512 -> [  1233][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f52e8
12:35:25.512 -> [  1244][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 34 successfully set to type GPIO (1) with bus 0x23
12:35:25.512 -> [  1254][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type SPI_MASTER_SCK (37) successfully set to 0x400d5050
12:35:25.544 -> [  1266][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type SPI_MASTER_MISO (38) successfully set to 0x400d5050
12:35:25.544 -> [  1278][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type SPI_MASTER_MOSI (39) successfully set to 0x400d5050
12:35:25.578 -> [  1290][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type SPI_MASTER_CS (40) successfully set to 0x400d5050
12:35:25.578 -> [  1302][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f52e8
12:35:25.578 -> [  1313][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 18 successfully set to type GPIO (1) with bus 0x13
12:35:25.610 -> [  1323][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 18 successfully set to type SPI_MASTER_SCK (37) with bus 0x4
12:35:25.610 -> [  1334][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f52e8
12:35:25.610 -> [  1345][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 19 successfully set to type GPIO (1) with bus 0x14
12:35:25.642 -> [  1355][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 19 successfully set to type SPI_MASTER_MISO (38) with bus 0x4
12:35:25.642 -> [  1366][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f52e8
12:35:25.642 -> [  1377][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 23 successfully set to type GPIO (1) with bus 0x18
12:35:25.674 -> [  1387][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 23 successfully set to type SPI_MASTER_MOSI (39) with bus 0x4
12:35:25.674 -> [  1398][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f52e8
12:35:25.674 -> [  1409][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 4 successfully set to type GPIO (1) with bus 0x5
12:35:25.705 -> [  1423][V][esp32-hal-periman.c:229] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f52e8
12:35:25.705 -> [  1434][V][esp32-hal-periman.c:154] perimanSetPinBus(): Pin 27 successfully set to type GPIO (1) with bus 0x1c
12:35:25.739 -> DEVICE ID: ffffffff

12:35:25.739 -> INIT FAILED