RFM69 library and Watchdog reset

Rrobinet
Posts: 29
Joined: Wed Aug 16, 2017 7:05 am

RFM69 library and Watchdog reset

Postby Rrobinet » Sun Sep 10, 2017 9:00 am

Hi,
I am porting a gateway application currently running on Arduino (and WeMos D1 mini) and using a RFM69 SPI transceiver to a WeMos Lolin32.
This one is connected using the SPI pins (SS, MOSI, MISo, SCK) and is using A16 as Interrupt.
It looks working find, however I have random SPI_FAST_FLASH_BOOT during data exchange (on heavy traffic once per minute 1 of 3 times and then back to normal) .
I spend already few days to insert yield() commands in several while loops and critical data transfer functions without success.
I wonder if somebody could help or to give me hints to investigate this issue.
Thanks
Robert

Code: Select all

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0010,len:4
load:0x3fff0014,len:588
load:0x40078000,len:0
load:0x40078000,len:10472
entry 0x40078a28

harishjp
Posts: 7
Joined: Mon Aug 28, 2017 1:42 am

Re: RFM69 library and Watchdog reset

Postby harishjp » Fri Sep 15, 2017 5:21 am

I'm getting similar error: https://esp32.com/viewtopic.php?f=19&t=3019. But it works fine when I use older version of esp32 arduino library.

Rrobinet
Posts: 29
Joined: Wed Aug 16, 2017 7:05 am

Re: RFM69 library and Watchdog reset

Postby Rrobinet » Sat Sep 16, 2017 12:41 pm

Hi, @harishjp

Could you please indicate me where I may find this older version of esp32 arduino library.

Robert

Rrobinet
Posts: 29
Joined: Wed Aug 16, 2017 7:05 am

Re: RFM69 library and Watchdog reset

Postby Rrobinet » Tue Oct 03, 2017 3:07 pm

Issue is related to the SPI transaction handling.
A modified version for test library for ESP32 is available on:
https://github.com/rrobinet/RFM69X_Library
Robert

Who is online

Users browsing this forum: No registered users and 55 guests