Replies: 3 comments
-
Are you sure that printing from inside ISR is safe on Raspberry Pico? Try removing that print statement and only printing from inside the main loop. Also |
Beta Was this translation helpful? Give feedback.
-
i'm not sure if it's safe, but it's the same with or without print in ISR. I still need to verify the electrical connection to DIO1, I think it may be bad. Edit: I checked the electrical connections and everything is OK, I removed the print from the ISR and I still get two ISR calls for one message. |
Beta Was this translation helpful? Give feedback.
-
I also tried clearing the events manually but it doesn't help, still the ISR function is called 2 times for each interrupt:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hello,
I'm trying to receive a message between two systems:
I use SX127x Class. When I send one message, the code below sees two interrupts, even though the RFM module on the DI00 pin sends one peak
Innterupt number: 285 Innterupt number: 286 [SX1278] Received packet! [SX1278] Data:L3 [SX1278] RSSI:-74.000000 dbm [SX1278] SNR:1076396032 dbm [SX1278] Frequency error:1415.577637 Hz [SX1278] Received packet! [SX1278] Data:L3 [SX1278] RSSI:-74.000000 dbm [SX1278] SNR:1076396032 dbm [SX1278] Frequency error:1415.577637 Hz Innterupt number: 287 Innterupt number: 288 [SX1278] Received packet! [SX1278] Data:L3 [SX1278] RSSI:-65.000000 dbm [SX1278] SNR:1076330496 dbm [SX1278] Frequency error:1407.188965 Hz [SX1278] Received packet! [SX1278] Data:L3 [SX1278] RSSI:-65.000000 dbm [SX1278] SNR:1076330496 dbm [SX1278] Frequency error:1407.188965 Hz
Beta Was this translation helpful? Give feedback.
All reactions