Jump to content
  • 0

Digital Discovery 48-Bit SPI


bobql

Question

Hello,

I'm new to using Digilent tools.  I have been evaluating the SPI feature using Waveforms (ver 3.22.16 64bit) and am able to read and write from my slave device using 32-bit protocol.  Our new device will feature a 48-bit protocol, but I cannot get the protocol to work.  Is the tool limited to 32bit max?  If so, is there anyway to increase to 48bit?

Thanks,

Bob

[UPDATE]: Fixed the issue:

Instead of sending all 32bits like 0x12345678, I have to split it up 8bits at a time.

For Example:  instead of this command Write(48, 0x0620004D55aa );  I need to use Write(8, 0x06, 0x20, 0x00, 0x4D, 0x55, 0xaa );

Edited by bobql
Found solution myself.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @bobql,

I believe you'll only be able to get up to 40 bits wide:

but otherwise I believe the protocol tool itself is limited to 32 bits per word. I haven't tried outside of direct loopback, but I believe you should be able to send 32-bit words at a time. Splitting up the transaction into multiple 8-bit words would be the way to proceed for samples larger than that though.

Let me know if you have any questions.

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...