Excuse me, my mistake, I overlooked that you're using a Due.
Please use SPI transactions on the Due.
What's the value of DATAX3 in your .h file? It should be 0x11 or 17. If it's not that value you might have to form the correct command byte first.
Excuse me, my mistake, I overlooked that you're using a Due.
Please use SPI transactions on the Due.
What's the value of DATAX3 in your .h file? It should be 0x11 or 17. If it's not that value you might have to form the correct command byte first.