I need clarification about the register writing sequence for MAX2871 through SPI protocol. As per the details given in the datasheet I have followed the below-given sequence.
for(int i = 0; i<2;i++){
writeRegisterValue5 = 0x00400005;
writeRegisterValue4 = 0x601640DC;
writeRegisterValue3 = 0x0000F233;
writeRegisterValue2 = 0x0C009F42;
writeRegisterValue1 = 0x400083E9;
writeRegisterValue0 = 0x00960000;
delay(20); // 20ms Delay
};
writeRegisterValue4 = 0x6180B33C; // Enabled RFOUTA & RFOUTB
I have observed that the MUX is getting changed according to the set MUX registers. But there was no RF output. Provided RFOUT_EN pin is pulled HIGH.
-
Is there any option to check if the RFOUTA/B is set or not?
-
Is the above-mentioned sequence correct?