   //  Start a SPI transaction
   //  Max speed for the tdc7200 is 20MHz
   //  CPOL = 0; CPHA = 0
-  SPI.beginTransaction(SPISettings(20000000, MSBFIRST, SPI_MODE0));
-  digitalWrite(CSB, LOW);
+//  SPI.beginTransaction(SPISettings(20000000, MSBFIRST, SPI_MODE0));
+//  digitalWrite(CSB, LOW);
 
   time1Result = readReg24(TIME1);
   time2Result  = readReg24(TIME2);

	stopTime = 0;
}

unsigned long readReg24(uint8_t address) {
	unsigned long value = 0;

	SPI.transfer(address & 0x1f);


  int lsb = SPI.transfer(0x00);

  value = (msb << 16) + (mid << 8) + lsb;

  digitalWrite(CSB, HIGH);
  SPI.endTransaction();
  
//  This clobbers the stack at runtime:
//	SPI.transfer((uint8_t *) &value + 1, 3);
