The code successfully runs and I receive the correct data. I can verify this by breaking my loopback on the MISO/MOSI pins and also by watching those pins on a scope.
section of output from running code on the onion:
Communication send 0x55
SC18IS602::transfer buf 55
SC18IS602::WriteBytes buf U len 1
SC18IS602::ReadBytes buf U len 1
SC18IS602::transfer rec 55
aa
Rec: 55
Communication send 0xAA
SC18IS602::transfer buf aa
SC18IS602::WriteBytes buf ▒ len 1
SC18IS602::ReadBytes buf ▒ len 1
SC18IS602::transfer rec aa
aa
Rec: aa
Communication is good
Aborted
I have zipped up the source code and I'm using "build_test1" to generate the code