I am trying to use dw1000 with esp8266 / nodeMCU and i am unable to get it running ,i am not having compile time errors but upon running i am getting the folln error .
ISR not in IRAM!
User exception (panic/abort/assert)
#include <SPI.h>
#include <DW1000.h>
#define _stackSize (5748/4)
// connection pins
const uint8_t PIN_RST = 9;//reset pin
const uint8_t PIN_IRQ = 4; // irq/interrupt pin
//const uint8_t PIN_SS = 13; // spi(D8 is CS) select pin
const uint8_t PIN_SS = SS; // spi select pin
void setup() {
delay(10);
// DEBUG monitoring
Serial.begin(9600);
Serial.print("Hello 0");
// initialize the driver
DW1000.begin(PIN_IRQ, PIN_RST);
Serial.print("Hello 1");
DW1000.select(PIN_SS);
Serial.print("Hello 2");
Serial.println(F("DW1000 initialized ..."));
// general configuration
DW1000.newConfiguration();
DW1000.setDeviceAddress(5);
DW1000.setNetworkId(10);
DW1000.commitConfiguration();
Serial.println(F("Committed configuration ..."));
// wait a bit
delay(1000);
}
void loop() {
delay(10);
// DEBUG chip info and registers pretty printed
char msg[128];
DW1000.getPrintableDeviceIdentifier(msg);
Serial.print("Device ID: "); Serial.println(msg);
DW1000.getPrintableExtendedUniqueIdentifier(msg);
Serial.print("Unique ID: "); Serial.println(msg);
DW1000.getPrintableNetworkIdAndShortAddress(msg);
Serial.print("Network ID & Device Address: "); Serial.println(msg);
DW1000.getPrintableDeviceMode(msg);
Serial.print("Device mode: "); Serial.println(msg);
// wait a bit
delay(10000);
}