I find that I am unable to set the same bit in RLD_SENSP and RLD_SENSN. For instance I can set set Channel 1 positive to drive the RLD amp, or I can set channel 1 negative but I cannot set both at the same time.
Any thoughts appreciated.
Don
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I find that I am unable to set the same bit in RLD_SENSP and RLD_SENSN. For instance I can set set Channel 1 positive to drive the RLD amp, or I can set channel 1 negative but I cannot set both at the same time.
Any thoughts appreciated.
Don
Hi Don,
Are you using the evaluation kit or your own setup? How are you determining that the bits are not set correctly? Are you reading back the registers after you have them set?
Regards,
Tony Calabria
Hi Tony,
It's my own board and yes I'm reading the registers back to verify the value.
Thanks
I think I found the problem, CONFIGREG3 was not setup correctly leaving the RLD powered down.
The root cause of the problem is in my SPI routine, when writing multiple registers i need to send an extra byte or the last register is not written. Probably using the wrong clock phase or something but I'll dig into it tomorrow.
Tony, sorry for the red herring and thanks for your help.
Don