I’m integrating SPI flash into my prototype and have hit an issue where the RAK15001 module is not being detected.
System: 19011 Dual IO base with power module, 11200 Core, 15001 storage
I am using UART-UART serial comms to read data coming from another device and this is connected to TXD1 and RXD1 exposed on J18. I also am using IO5 to read a couple of DS18B20 digital temperature probes.
If I load the example sketch RAK15001_Flash_GD25Q16C.ino and run it, I get a core panic LoadProhibited:
I have also tried the sketch flash_manipulator.ino included with the Adafruit SPI_flash library, and it returns invalid/missing data such as JEDEC ID = 0xFFFFFF:
10:39:56.280 -> SPIFlash: No FAT partition foundAdafruit Serial Flash Manipulator example
10:39:56.280 -> JEDEC ID: FFFFFF
10:39:56.280 -> Flash size: 0
10:39:56.280 -> Initializing SD card... Card failed, or not present
Any ideas where to look? I have moved the 15001 module to each of the different slots and this changes nothing.
It seems there were updates related to the SPI_Flash library. As I looked at it, most are related to RP2040 but there could be some side effects that affects ESP32. The latest 4.2.0 causes errors to me. I was able to validate version 3.4.1 to be working. Then 3.7.1 is the one used in our quick start guide. Maybe you can try this version and see if it will work ok in your setup.
Btw, if you are using IO5 for the temperature sensor. I will advise to not use Slot D and F since these sensor slots is used by RAK15001. This will likely affect the DS18B20 signal line.
Thank you for the quick reply @carlrowan. I’m using slot A for now. I wondered about the library version issue since I ran into that with the RAK11310 a few months ago. I will downgrade to v3.7.1 and test.