AnsweredAssumed Answered

ADF7242 can't receive the data

Question asked by CanLiu on Jun 2, 2017
Latest reply on Jun 14, 2017 by SteveH

Firstly, MCU can read and write a data to  register by SPI.

1.The transmitter has been set as:

SPI_ADF_WriteReg(0x3CB,0xFF); //"Clear int srce low"
SPI_ADF_WriteReg(0x3CC,0xFF); //"Clear int srce high"
SPI_ADF_WriteReg(0x3C7,0x00); //"Clear mask irq1"
SPI_ADF_WriteReg(0x3C8,0x00); // "Clear mask irq1"
SPI_ADF_WriteReg(0x3C9,0x00); //"Clear int srce high"
SPI_ADF_WriteReg(0x3CA,0x00); //"Clear int srce high"
SPI_ADF_WriteReg(0x3CB,0xFF); //"Clear int srce low"
SPI_ADF_WriteReg(0x3CC,0xFF); //"Clear int srce high"
SPI_ADF_WriteReg(0x107,0x10);//107 10 cyclic transmission of frame in TX_BUFFER

also load 1,2,3....128 to txbuf

RC_Command(RC_PHY_RDY);    and the  SPI status word  is 0xA3

RC_Command(RC_TX);                 and the SPI status word is 0xA5

the SPI status word maintains at the 0xA5 

 

2.The receiver has been set as:

SPI_ADF_WriteReg(0x3CB,0xFF); //"Clear int srce low"
SPI_ADF_WriteReg(0x3CC,0xFF); //"Clear int srce high"
SPI_ADF_WriteReg(0x3C7,0x00); //"Clear mask irq1"
SPI_ADF_WriteReg(0x3C8,0x00); // "Clear mask irq1"
SPI_ADF_WriteReg(0x3C9,0x00); //"Clear int srce high"
SPI_ADF_WriteReg(0x3CA,0x00); //"Clear int srce high"
SPI_ADF_WriteReg(0x3CB,0xFF); //"Clear int srce low"
SPI_ADF_WriteReg(0x3CC,0xFF); //"Clear int srce high"

also load 1,2,3....128 to txbuf

RC_Command(RC_PHY_RDY);    and the  SPI status word  is 0xA3

RC_Command(RC_RX);                 and the SPI status word is 0xA4

the SPI status word maintains at the 0xA4 

 

Question: 1. why the receiver can't get any data in rxbuf or irq singal?

Outcomes