LSatan / Simu_Remote_CC1101

Sending and receiving Simu: Radio motor Hz / Hz02 / EHz / Door control RSA / Radio receiver SA Hz / Garage door operator GM800 / GM1000 Micro radio receiver for lighting
38 stars 4 forks source link

Kernel panic with ESP8266 <ISR not in IRAM> #2

Open SJ76 opened 3 years ago

SJ76 commented 3 years ago

Hello there and thank you for your work and effort with the CC1101 (and others) libraries.

I tried to use the "Receive_advanced" example withe Simu_Remote_CC1101 library on ESP8266 (working with your SRC_DRV Lib) but it gives me kernel panic. It seems the interrupt handle is not in IRAM. I remeber some time ago there was a change in one of the ESP8266 releases that forced me to update some sketches to use <void ICACHE_RAM_ATTR handleInterrupt();> to bring the interrupt routine in IRAM to run properly. I tried to implement this but my knowledge in change libraries is very limited.

I would be glad i you find the time to look into the issue. Background: I am using the successfully to control simple 433.92 Mhz sockets as well as the 443.42Mhz Somfy sun blinds. In addtion my rented flat also has so to say "noname" blinds that also operate in the 433.42 band, remotes behave quite like somfy rts (up/down/stop/program buttons), but the underlying protocol seems different. Afraid to deassemble the blinds, I tried the abovementioned Receive_advanced example to maybe shed some light on the differences between the received values of the somfy rts and the nonmane remote control signals.

LSatan commented 3 years ago

Hi, thank you for the message. I fixed it and tested it. Which remote control do you use? Give me feedback on whether it works. Regards

SJ76 commented 3 years ago

Hello again, please excuse the delay in my answear. I am quite busy at work and in my spare time i tinkered quite successfully with my cc1101 module now controlling several kinds of sockets, the abovementioned Somfy sun blind and since today 2 addtional sunblinds that used a quite elusive coding. To your question, the sunblind in my rented flat comes with a Somfy Telis 1 RTS Pure remote control. My first cc1101 module is already fixed in a sort of cental transceiver hub relaying signals from a gerneric 433.92 mhz remote control (for wife acceptance factor) and from the central web based front end (for me - based on a esp32) to the blinds and sockets. I bought another one but must rebuild a setup to test your changes. Looking into your updated source it should for sure prevent the kernel panic at boot time.