Hi everyone, I recently discovered Teensy 4.0 ... Wonderful! My idea is to create an "easy-to-build" HF SDR RTX. For the moment, without many filters and particular functions... I made an SDR RX PART using Derek Rowell's excellent libraries. I added the TX only SSB part based on Charlie Morris-ZL2CTM code.(http://zl2ctm.blogspot.com/2019/06/h...sing-rig.html) .See my part of the code here ... I kindly ask for help to add the SDR AM TX PART to complete the RTX. Thanks and best regards. Stefano Italy
Click image for larger version. 

Name:	teensy 4.jpg 
Views:	16 
Size:	37.2 KB 
ID:	28480
Code:
//////TX PARTS
void trasmetti()
{
  
  if (SSB == 1){
    
  sendFreqTXSSB();  
 digitalWrite(outRELE, HIGH );//////////////////////////rele' tx   
 
  }else{

    sendFreqTXAM();////////////////////THI IS FOR SWITCH SDR SSB TX TO ANALOGIC A.M. TX
   digitalWrite(outRELE, LOW );//////////////////////////rele' tx  
  }
  SDR.setMute(true);

  /////////////////////////////ACCENDE TX//////////////////////////
  AudioNoInterrupts();
    codec.inputSelect(AUDIO_INPUT_LINEIN);
   codec.volume(1.0);
  codec.lineInLevel(8);  // 
  codec.lineOutLevel(0); // 
  amp1.gain(9.0);
  amp2.gain(9.0);  
 
  codec.unmuteLineout();                                          // Output to the TX
  codec.lineOutLevel(31);
  TX_Hilbert_Plus_45.begin(Hilbert_Plus_45, NO_HILBERT_COEFFS);
  TX_Hilbert_Minus_45.begin(Hilbert_Minus_45, NO_HILBERT_COEFFS);
  AudioInterrupts();
 avgbande = avgbande/100;
  Update_Panadapter();
tft.fillCircle(430, 30, 14, RED);//bollinor tx
tft.setFont(&Round_Regular10pt7b);
tft.setCursor(418,25);
 tft.setTextColor(YELLOW);
 tft.print("TX");
    
}