Posts

Showing posts from June, 2023

Replacing the Teensy 3.2 with 4.0 in the GQRP SCD Sudden Digital VFO

Image
 Place holder for GQRP SCD Digital VFO Post   The chip shortage has struck down the Teensy 3.2 which was used in the GQRP Digital VFO here: https://www.gqrp.com/suddenvfo.htm   Obviously that's a problem.  However, there is light at the end of the tunnel, the Teensy 4.0 is pin compatible so could be a drop in replacement.   I downloaded the 'sketch' and tried to compile it, which failed with what looked like potentially simple to resolve errors and a *lot* of warnings about unused and uninitialised variables. The information below shows the changes I made to the V0_13 sketch and get a successful compile.   Compiled for Teensy 4 using Arduino IDE: Version: 2.1.0 Date: 2023-04-19T15:31:10.185Z CLI Version: 0.32.2 Errors with unmodified sketch when compiled for Teensy 4  "Sorry, i2c_t3 only works on Teensy LC and 3.x.  Use Wire for Teensy 4.0, 4.1, MicroMod." To fix: Change every instance of i2c_t3.h to wires.h In:  SCD_2021_V0__13.ino Si5351.h Si5351.cpp To mop up s