Post Go back to editing

AD9106 SRAM read/write

I'm trying to load wave data points into the SRAM.  I can set the shadow registers, ram_update, and read back the values that were entered.  I cannot seem to load values into the SRAM.

I'm updating the PAT_STATUS reg to allow write according to pg27 of Rev. A of the datasheet and perform the ram_update.  I "attempt" to write the data to the SRAM addresses.  I set PAT_STATUS reg to allow read and perform the ram_update.  When reading the SRAM addresses they all return 00.  The CS pin is toggled appropriately between commands.

Is there something else that I've missed in the datasheet?

Parents
  • So, apparently the reserved bits in SRAM are actually [3:0] not [15:12].  That's a pretty big mistake in the datasheet.  I'm getting values written to and read from the SRAM now but only if I address each data value first.  It doesn't work if I just try and write/read sequentially with one command and holding the CS line low for the sequential data.

Reply
  • So, apparently the reserved bits in SRAM are actually [3:0] not [15:12].  That's a pretty big mistake in the datasheet.  I'm getting values written to and read from the SRAM now but only if I address each data value first.  It doesn't work if I just try and write/read sequentially with one command and holding the CS line low for the sequential data.

Children
No Data