Actual Behavior
Adafruit FRAM I2C driver start renders the detector firmware application to be frozen while LMIC driver (LoRaWan RFM95 module driver) is in operation.
Expected Behaviour
The operation of all drivers must be possible w/o any interference issues.
Steps to reproduce
Run the Detector FW with the LMIC driver in service
Start I2C Bus (Wire.begin())
Heartbeat LED stops blinking, CLI on USB Serial shows no reaction
Possible Workarounds
for the MVP (2 detector nodes, we prepare 10 nodes), use a GPIO 5-bit wired device ID to distinguish between the devices, provide hardcoded TTN Keys for all 5 nodes, and provision the device's own tuple according to the GPIO 3 bit device ID, GPIO bits (#41):
Bit 0: Pin A0 (14)
Bit 1: Pin A1 (15)
Bit 2: Pin A2 (16)
Bit 3: Pin A3 (17)
Bit 4: Pin A4 (18)
try to use SPI instead of the I2C bus, replace the Adafruit FRAM I2C with an Adafruit FRAM SPI
Issue by dniklaus Thu Aug 30 10:32:10 2018 Originally opened as https://github.com/ERNICommunity/dust-measurement-network/issues/31
Actual Behavior Adafruit FRAM I2C driver start renders the detector firmware application to be frozen while LMIC driver (LoRaWan RFM95 module driver) is in operation.
Expected Behaviour The operation of all drivers must be possible w/o any interference issues.
Steps to reproduce
Wire.begin()
)Possible Workarounds