AD2S1210
Production
The AD2S1210 is a complete 10-bit to 16-bit resolution tracking resolver-to-digital converter, integrating an on-board programmable sinusoidal oscillator...
Datasheet
AD2S1210 on Analog.com
Hi all,
I'm having issues when interfacing with an AD2S1210 from a TI C2000 board (LAUNCHXL-F28379D). My setup:
- CN0276 board connected to an external resolver via J3 interface
- CN0276 board supplied by 12Vdc
- CN0276 board J2 interface connected as follows:
- A0 and A1 pins connected to F28379D digital outputs.
- SAMPLE\ pin connected to F28379D digital output.
- SCLK pin connected to SPI_A CLK signal in F28379D board.
- SDI pin connected to SPI_A MOSI signal in F28379D board (called SPISIMOA).
- SDO pin connected to SPI_A MISO signal in F28379D board (called SPISOMIA).
- WR/FYSNC\ pin connected to SPI_A CS\ signal in F28379D board.
- SOE\ pin connected to GND in J2 (pin 20) for configuring Serial Interface.
What I'm trying to do first is as simplest as read the default value (0x7E) of the control register (0x92). But I'm reading 0xFE instead. Below is a capture of the oscilloscope signals for two contiguous SPI comms.
According to SDI Input section of the datasheet (page 28), “The data is shifted into the part on the falling edge of SCLK”. So, SPI_A in F28379D board is configured as controller with falling edge polarity and clock phase active (CPHA = 1). Falling edges marked in red in the below picture.
According to SDO Input section of the datasheet (page 28), “The data is shifted out on the rising edge of SCLK.”. Rising edges marked in black in the below picture.
Can someone tell me what I'm doing wrong?
Best regards,
Borja

Hi BorjaH ,
I would like to know if did you made any changes with the controller board you are using? Like flashing a firmware?
Also, can you try configuring to other registers? And send us again a scope shot.
Regards,
Jo
Hi Jo,
Sorry for not having answered before, but I didn't recieve any feedback in my email...
Anyway, no I didn't flash any new firmware into the board. Indeed, I have only interfaced with the board via the J3 interface. I think that it's no possible to flash a new firmware from this interface, right?
Right now I cannot send you a new scope shot. Could you tell me how should I do to flash a new software into the board?
Regards,
Borja
Hi again Jo,
Just a couple of details that might be useful that I forgot to write before. I've connected the board to a motor 4 pole-pairs resolver spinning at a fixed speed and I have observed a couple of interesting things.
First is that the LOT and DOS LEDs are all the time flashing in red. I'm not able to clear them. And second, I have check with the incremental encoder signals of J3 interface (A, B and NM signals) and they show the actual speed at which the motor is spinning (measuring the time between two consecutive pulses of the NM signal).
Does this make sense? I mean, does it make sense that DOS and LOT LEDs are red, but the incremental encoder outputs work well?
Regards,
Borja
Hello BorjaH ,
While looking into your next concern, I noticed that the MSB differs; whereas I know you are expecting a 0 because of 7E (0111 1110). Can you try resetting the device and send us another scope shot? Just to see if that would still happen. Also, after having a reset to the device, can you try writing, aside from 0x92, just to check whether the outcome will be your expected output? And send again a scope shot.
Warm regards,
Jo
Hello! I have the same problem. I'm trying to do first is as simplest as read the default value (0x7E) of the control register (0x92). But I'm reading 0xFE instead. What is the problem?
In addition, when reading the register "Los threshold register" (0x88). I get the value 0xB9, not the default value 0x39.
Hi, were you able to solve this problem? I am trying to make the CN0276 work with F28379D myself but having alot of issues I am unable to read/write data even after lot of checks. Did you make hardware/resistor modifications to the CN0276 board? Do you mind sharing copy of C2000 code? Any inputs would help. Thanks