Hi,
I am using the sample code from the ADS1292 EVM in a CDC send data in background example of MSP430F5529 LP. The ACLK is chosen to be the XT2 crystal (4 MHz on the launch pad), the bit div is set to 4:
UCS0BR0 = 4
UCB0BR1 = 0
this should give a frequency of the SCLK as 1 MHz
When the registers are being read the ID register is returning a value of 0x00 while it should be 0x53. All the other registered are written but when read back are returning 0x00. I am unable to find the problem.
The example chose the ACLK source to be the REFO = 32kHz
after the setting I have inserted the following code
P5SEL |= 0x0C;
UCSCTL4 = (UCSCTL4 & ~(SELA_7)) | (SELA__XT2CLK);
This should change the ACLK source to XT2
Please suggest the solution.
Regards
Viney Chaddha