I'm assuming from the const int CS = 53; that this is being done on a Mega. But it really doesn't matter, as the provided sketch doesn't compile.
arduino-cli compile -b arduino:avr:mega:cpu=atmega2560 --warnings all --output-dir /home/me/tmp --no-color (in directory: /home/me/Documents/sketchbook/Mega/test)
/home/me/Documents/sketchbook/Mega/test/test.ino: In function 'void loop()':
/home/me/Documents/sketchbook/Mega/test/test.ino:18:1: error: 'writeReg1' was not declared in this scope
writeReg1(0x11,0x06);
^~~~~~~~~
/home/me/Documents/sketchbook/Mega/test/test.ino:21:39: error: a function-definition is not allowed here before '{' token
void writeReg1 (byte Add, byte mask){
^
/home/me/Documents/sketchbook/Mega/test/test.ino:38:1: error: expected '}' at end of input
}
^
Used library Version Path
SPI 1.0 /home/me/.arduino15/packages/arduino/hardware/avr/1.8.3/libraries/SPI
Used platform Version Path
arduino:avr 1.8.3 /home/me/.arduino15/packages/arduino/hardware/avr/1.8.3
Error during build: exit status 1
Compilation failed.
If an oscilloscope shows 0 (no signal/low signal), the signal source is not connected or not sending anything; what is the signal source?
That would not be a problem related to your program.
As indicated, your code does not compile. Because you did not close loop() with a }, void writeReg1 (byte Add, byte mask){ is inside loop() where it should not be. Add a } after the delay(5000).
I'm not familiar with the ADS7066 so can't advise further.