Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Write to ADF4351

Hello everyone, My goal is to make Labview control 2 ADF4351 boards (chinese).

I have an Arduino uno connected to ADF4351 board using SPI interface. I have Arduino PINS 13,11,9 connected to voltage dividers(560,1k). to bring logic down to 3.3v. 

I followed 6+ webpages explaining how to connect and use the Uno with the ADF4351 and all the .ino files appear to be working. 

 

Next is to emulate this in labview maker hub. In some of those .ino files they use "uint32_t registers[6] =  {0x4580A8, 0x80080C9, 0x4E42, 0x4B3, 0xBC803C, 0x580005} " to be sent through the SPI channel.

I believe these are U32 values.  The input for the "SPI Write Read 1 Frame.vi" appears to be a U8. Now, since I am sending 6 registers (6 u32 indexes) do I use "N frame" instead of "1 Frame"?
I wrote a simple .vi to split the u32 value into 4 u8 values  
My background with SPI is very limited and the last project 4+ years ago used a single u8 value and also used an Aardvark.
Thank you

 

0 Kudos
Message 1 of 1
(115 Views)