Radio RFM95 does not send ATmega1284p



  • Hello everyone,

    first, I already made several working designs with RFM95 and ATmega328pb with exactly the same antenna design.
    Now I made two developement PCBs with an ATmega1284p and a RFM95 module. Communication MCU <-> radio seems to work, but I can't see any communication on the GW side (there are serveral other nodes connected to that GW, so it works).

     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.4.0-alpha
    
    18 MCO:BGN:INIT NODE,CP=RLNNA---,FQ=8,REL=1,VER=2.4.0-alpha
    28 TSM:INIT
    30 TSF:WUR:MS=0
    32 RFM95:INIT
    32 RFM95:INIT:PIN,CS=3,IQP=12,IQN=65535
    49 RFM95:PTX:LEVEL=13
    51 TSM:INIT:TSP OK
    53 TSM:FPAR
    55 RFM95:SWR:SEND,TO=255,SEQ=0,RETRY=0
    7061 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=NACK:
    9070 !TSM:FPAR:NO REPLY
    9072 TSM:FPAR
    9074 RFM95:SWR:SEND,TO=255,SEQ=1,RETRY=0
    16080 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=NACK:
    18092 !TSM:FPAR:NO REPLY
    18094 TSM:FPAR
    18096 RFM95:SWR:SEND,TO=255,SEQ=2,RETRY=0
    

    I used a very basic programm:

    #define MY_RADIO_RFM95
    #define MY_DEBUG_VERBOSE_RFM95
    #define MY_DEBUG_VERBOSE_CORE
    #define MY_DEBUG_VERBOSE_TRANSPORT
    #define MY_DEBUG
    //#define MY_RFM95_FREQUENCY (869400000ul)
    
    #define MY_RFM95_IRQ_PIN PIN_PB2
    #define MY_RFM95_CS_PIN PIN_PD3
    
    #include <Arduino.h>
    #include <MySensors.h>
    
    void setup()
    {
    }
    
    void loop()
    {
    }
    

    Can anyone spot a stupid mistake I made?

    Thanks, Edi

    CPU.png Radio.png 3D_PCB1_2023-11-29.png



  • Don't ask me why, but now it works. I changed nothing! Went to my girl over the weekend, coming back, the node was registred. Maybe a jammer went away?


Log in to reply
 

Suggested Topics

  • 3
  • 24
  • 2
  • 10
  • 2
  • 4

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts