I wish to send the command code 0xAD with mask length = 0 and no mask value. I modified the TRF7970ABP code by changing the following line :
buf[0] = 0x8F;
buf[1] = 0x91; // send with CRC
buf[2] = 0x3D; // write continuous from 1D
buf[5] = flags; // ISO15693 flags
buf[6] = 0xAD; // custom command code
I tried just modifying buf[6] and my i_reg is stuck at 0x00 (timer interrupt). Will the remaining parameters be automatically calculated? If not, what modifications do I need to perform?