Post Go back to editing

Writing to AD9959 registers

Thread Summary

The user is implementing a write function for the AD9959 using SPI and is confused about how to differentiate between registers with similar addresses. The final answer clarifies that bits D4 to D0 represent the full 5-bit address of the register, where D4 corresponds to the tens digit and D3 to D0 correspond to the ones digit. The user confirms understanding, and another user inquires about a command-line program for the AD9959, to which the support engineer responds that ADI does not provide such a resource or the firmware for the evaluation software.
AI Generated Content
Category: Hardware
Product Number: AD9959

Hi, I am currently working on my own driver for the AD9959 with an stm32 microcontroller and I am a bit confused on how to implement a write function using SPI. As it is said in the reference manual on page 32 you need several instruction bytes to do so and we have an example with the FR1 register. As it said, the D7 bit indicates if we want a read or write operations and D4 to D0 indicates which register is accessed. Following the example, it seems that it's the last 4 bits of the address of the FR1 register. If I am right so how can the chip will differentiate registers that have the same last 4 bits for their address like the ACR register (0x06) and the CW13 register (0x16) 

Thank you !

Parents Reply Children