title: I use a LoRa-SX1278 on attiny44 (A) and my SPI connection is unstable. Sometimes the node sends the frames, and other times it doesn't
body: <p>I used different new components and it did not change anything.
  I also added a 16 Mhz crystal to have a more precise clock. it made things a little better.
  Maybe it's a question of power? The lora is maybe too greedy for my assembly?</p>
  <p>Or Maybe my code is wrong? :</p>
  <pre><code>#include &lt;Arduino.h&gt;
  #include &lt;SPI.h&gt;
  #include &lt;LoRa.h&gt;
   
  void blink(int nb, int PIN = PA0){
    for(int i = 0; i &lt; nb; i++){
      PORTA |= _BV(PIN);
      delay(500);
      PORTA &amp;= ~_BV(PIN);
      delay(500);
    } 
    delay(5000);
  }
   
  #define BLINK(X) blink(X)
   
  void setup() {
   
    //BLINK(10);
    DDRA |= _BV(PA0);
   
    while(!LoRa.begin(433E6)){
      digitalWrite(PB2, LOW);
      delay(500);
      digitalWrite(PB2, HIGH);
      delay(500);
      BLINK(1);
      }
    BLINK(2);
    LoRa.setSpreadingFactor(12);
    LoRa.setSignalBandwidth(62.5E3);
    LoRa.setCodingRate4(8);
   
    //while(!LoRa.pairing());
      //Serial.println(&quot;Pairing successful/ networkID = &quot; + (String) LoRa.networkId);
   
  }
  int i = 0;
  void loop() {
   
    LoRa.beginPacket();
    LoRa.print(&quot;A&quot;);
    LoRa.endPacket();
    //BLINK(3);
    //delay(100);
  }
  </code></pre>