Hi,
I am having problem to read and write to CLRC663 registers using SPI interface.
for example I need to write the value 0x98 to the T0control register (0Fh), I am sending the following data (address shifted with the LSB=0) (address, value)= (0x1E, 0x98)
and I tried to read it back by sending on MOSI (address shifted with the LSB=1), (addresss, 0x00)=(0x1F, 0x00), and I got every time defferent value which is not equal to (0x98):
What do you think is the problem ?
Please assist
Thank you
Hi jimmychan, are you sure NSS need to be set to high between address and value?
https://community.nxp.com/message/1135171?commentID=1135171#comment-1135171
please try to set NSS to high after sent the address. then set NSS to low again when send the value.