Dear Sr.,
Can't detect carrier
They are two PCB one TX Carrier and other mush Detect the carrier
--------------------------------------------------------------------------------------------------------------------------
PCB1 TX CARRIER AT Channel 2.410 Ghz (Without data). This module generate only carrier for detecting for PCB2
PCB1 SW:
5 mS
CE=0
wSPI,#00100000b ;WR CONFIG Register SELECT
wSPI,#00001010b ;EN_CRC bit3 Set=1,PWR_UP bit1 Set=1,Set as PTX bit0=0
5 mS
wSPI,#00100101b ;WR RF_CH Register SELECT
wSPI,#10 ;Channel 2.410Ghz
5 mS
wSPI,#00100110b ;WR RF_SETUP Register SELECT
wSPI,#10001110b ;Continous Carrier Tx, 2Mbis/s, 0dBm Tx
CE=1
HALT
This SW run the carrier is OK
--------------------------------------------------------------------------------------------------------------------------
PCB2 RX CARRIER AT Channel 2.410 Ghz. This module mush detect carrier from PCB
PCB2 SW:
1 munute after PCB1 power on
5 mS
CE=0
wSPI,#00100000b ;WR CONFIG Register SELECT
wSPI,#00001011b ;EN_CRC bit3 Set=1,PWR_UP bit1 Set=1,PRX bit0 Set=1
5 mS
wSPI,#00100101b ;WR RF_CH Register SELECT
wSPI,#10 ;Channel 2.410Ghz
5 mS
CE1:
CE=1
5 mS
CE=0
wSPI,#00001001b ;RD RPD Register SELECT
rSPI,RD STATUS ;RD STATUS
rSPI,RPD ;Lee RPD
All Time Bit0=0 ;For Carrier Detec mush be =1
GOTO CE1
This SW don't detect the carrier
--------------------------------------------------------------------------------------------------------------------------
What I do wrong ?
Thank