A9101 FIFO mode (Auto RSSI measurement for TX Power)

SamYang2023-12-09A9101/A8101105

RC_A9101-F4_x3_915MHz Band Ref. Code for FIFO mode CL=18pF_V0.5 - RSSI For TX power.zip

1. Set wanted FRXLO.

2. Set RSS= 1 (081Fh), FSARS= 0 (0822h, 4.096MHz ADC clock).

3. Enable ARSSI= 1 (0802h).

4. Send RX Strobe command.

5. In RX mode, 8-times average a RSSI measurement periodically.

6. Exit RX mode, user can read digital RSSI value from ADC [7:0] (0821h) for TX power.

In step 6, if A9101 is set in direct mode, MCU shall let A9101 exit RX mode within 40 us to prevent RSSI inaccuracy

屏幕截图 2023-12-09 225236.png

代碼分析:

Master:修改成純Tx Mode

image.png

Slave:呼叫RSSI_measurement()函數

image.png

RSSI_measurement()函數內容:

2.png

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。