Project

General

Profile

Jeenode micro with RFM69CW hangs in rf12_sendWait

Added by aelfric 11 months ago

I am trying to make this into a temperature node but am starting out with the radioBlip2 sketch.

I added the RF69_compat #define at the top of the file and I can receive successful packet transmissions, when it works.

The problem I have is that the code will hang in rf12_sendWait(SEND_MODE) if SEND_MODE is 2 or 3. It works OK if SEND_MODE is 0 or 1.

I have not touched the fuses yet, they are the default as shipped which reads as E:FF, H:DF, L:E2.

Should I set the fuses to e=06/h=DE/l=CE as mentioned in the sketch or something else or just leave alone?

Sorry, I am a bit new to the Tiny-84 so not that familiar with it yet.

Andrew


Replies (52)

RE: Jeenode micro with RFM69CW hangs in rf12_sendWait - Added by JohnO 10 months ago

It may be worth noting that the RFxConsole-RSSI branch uses a minimum of six sync bytes.

  0x2E, 0x98, // SyncConfig = sync on, sync size = 4
  0x2F, 0xAA, // SyncValue1 = 0xAA
  0x30, 0xAA, // SyncValue2 = 0xAA
  0x31, 0x2D, // SyncValue3 = 0x2D
  0x32, 0xD4, // SyncValue4 = 0xD4, 212, group

RE: Jeenode micro with RFM69CW hangs in rf12_sendWait - Added by JohnO 10 months ago

The master branch uses a minimum of 4 bytes.

  0x2E, 0x90, // SyncConfig = sync on, sync size = 3
  0x2F, 0xAA, // SyncValue1 = 0xAA
  0x30, 0x2D, // SyncValue2 = 0x2D
(51-52/52)