Post Go back to editing

AD9102 SPI connection question

Hi to all.

I'm new to this forum , so I hope I'm in the correct place for my question.

I'm trying to connect a pic24Fj series processor to the AD9102 DDS chip , and I'm a little confused

about the SPI connections.CS , RESET and SCLK are fairly obvious. Do I connect the SPI data out (MOSI)

to the SDIO and the SPI Data in (MISO) to the SDO/SDI2/DOUT pins?

Figure 31 in the datasheet indicates that you would ONLY use the SDIO pin for the data transfer in 3 wire mode.

This would require that the data direction would have to change from output to input during the transfer.

Can the pic processor do this with it's spi peripheral? If I were bit banging the SPI , it would be simple , but I'd rather use

a peripheral if I can.I'm

I've tried 4 wire mode , but I'm getting nothing coming out of SDO pin at all.I'm reading the DACRSET register as it has a

non zero reset value.

Hope I'm not being to vague here.

Cheers

Neddie

Parents
  • Thanks Larry.

    Still not having any luck though , must be something else wrong

    I assume you can load the registers in any order. I've just created a loop an

    ran through from 0 to 0x60 programming the device. What should be done with the

    trigger input? I've tried it high and low , no difference.

    It's a hand built board , so while I'm pretty confident I have it all ok , it's a pretty tough

    chip to solder , especially the pad underneath!!

    Not really sure where to go from here

    Cheers

    Ned

Reply
  • Thanks Larry.

    Still not having any luck though , must be something else wrong

    I assume you can load the registers in any order. I've just created a loop an

    ran through from 0 to 0x60 programming the device. What should be done with the

    trigger input? I've tried it high and low , no difference.

    It's a hand built board , so while I'm pretty confident I have it all ok , it's a pretty tough

    chip to solder , especially the pad underneath!!

    Not really sure where to go from here

    Cheers

    Ned

Children
No Data