KCC's Quizzes AQQ306 about a fish stick challenge
1. First the quote of the month: " I am so clever that sometimes I don't understand a single word of what I am saying" - Oscar Wilde
2. New quiz AQQ306 about a fish stick challenge:
Here below is a pseudo fish diagram swimming to the right.
Question
View All
October Monthly Blog Quiz! Read the blog, take the quiz, and you could win a gift card
Finding Your Circuit Chi — EMC Quiz!
Think you know EMC? Test your knowledge with our 5-question quiz!
Read the blog first, then take the challenge: Finding Your Circuit Chi
Every current flowing creates electromagnetic fields.
Strong EMC design
View All
ADAR1000
Recommended for New Designs
The ADAR1000 is a 4-channel, X and Ku frequency band, beamforming core chip for phased arrays. This device operates in half-duplex between receive and...
Datasheet
ADAR1000 on Analog.com
Hi,
I have 2x ADAR1000s and would like to daisy chain them together.
The ADAR1000 is controlled using and Arduino. The Arduino is programmed using MATLAB. The arduino is connected to boards 1's P1 pins.
Board 1's P2 connector is connected to Board 2's P1 connector.
I have also connected Position 4 to Position 6 of the P10 pinout.
My MATLAB script is the following:
%% Board 1
a = arduino();
ADAR1000 = device(a, 'SPIChipSelectPin', 'D10');
writeRead(ADAR1000, [0x00 0x00 0x81]) % Reset
writeRead(ADAR1000, [0x00 0x00 0x18]) % SPI Open
writeRead(ADAR1000, [0x00 0x38 0x60]) % VGA BIAS 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
writeRead(ADAR1000, [0x00 0x2F 0x7F]) % Tx Bias
writeRead(ADAR1000, [0x00 0x36 0x16])
writeRead(ADAR1000, [0x00 0x37 0x06])
writeRead(ADAR1000, [0x00 0x31 0x42]) % Current On
%% TX1
writeRead(ADAR1000, [0x00 0x1C 157]) % Gain
writeRead(ADAR1000, [0x00 0x20 0x3F]) % I
writeRead(ADAR1000, [0x00 0x21 0x20]) % Q
%% Board 2
writeRead(ADAR1000, [0x20 0x00 0x18]) % SPI Open
writeRead(ADAR1000, [0x20 0x38 0x60]) % VGA BIAS 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
writeRead(ADAR1000, [0x20 0x2F 0x7F]) % Tx Bias
writeRead(ADAR1000, [0x20 0x36 0x16])
writeRead(ADAR1000, [0x20 0x37 0x06])
writeRead(ADAR1000, [0x20 0x31 0x42]) % Current On
%% TX1
writeRead(ADAR1000, [0x20 0x1C 157]) % Gain
writeRead(ADAR1000, [0x20 0x20 0x3F]) % I
writeRead(ADAR1000, [0x20 0x21 0x20]) % Q
I have tried to address each board independently and can confirm that the addresses 0x00 and 0x20 are working.
However when I run the above script only one board seems to work. Is there anything I am missing?
Many thanks,
Zain
Also, can you define what "work" means exactly? Are the supply currently levels correct? How about the Tx gain?
I notice that you enable the SDO pins of both parts, which you don't want to do due to a silicon error. Can you do any SPI readbacks if you only enable one SDO pin?
Also note you will need a 0x2802 write to update any changes to the gain and phase registers.
Also, can you define what "work" means exactly? Are the supply currently levels correct? How about the Tx gain?
I notice that you enable the SDO pins of both parts, which you don't want to do due to a silicon error. Can you do any SPI readbacks if you only enable one SDO pin?
Also note you will need a 0x2802 write to update any changes to the gain and phase registers.