This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

關於cc2541+cc2591的連線距離

Other Parts Discussed in Thread: CC2541, CC2591

我的cc2541+cc2591在空曠時60米以上的收發(可連線)都沒問題,

當遇到屏蔽時, 廣播仍然可以傳送到60米外, 手機掃得到但無法連線,

用ble112開發版在我的藍芽裝置旁監聽封包,

卻可以收到手機發出嘗試對cc2541連線的封包,

不過cc2541卻一直沒有回應,

請問這個是什麼問題?

是我PA/LNA設定錯誤嗎?

相關的代碼如下

Init I/O
{
    // Default State of I/O are output and low
    P0SEL = 0; // Configure Port 0 as GPIO
    P1SEL = 0; // Configure Port 1 as GPIO
    P2SEL = 0; // Configure Port 2 as GPIO
    
    P0DIR = 0xFE; // Port 0 pins P0.0 as input (buttons), others as output
    P1DIR = 0xF3; // All port 1 pins (P1.0-P1.7) as output
    P2DIR = 0x1F; // All port 1 pins (P2.0-P2.4) as output

    P0 = 0;    // All pins on port 0 to low
    P1 = 0;    // All pins on port 1 to low
    P2 = 0;    // All pins on port 2 to low
}

// Enable PA/LNA
{
    HCI_EXT_SetTxPowerCmd(HCI_EXT_TX_POWER_0_DBM);
    HCI_EXT_SetRxGainCmd(HCI_EXT_RX_GAIN_HIGH);
    HCI_EXT_ExtendRfRangeCmd();
}
  • 觉得是链路预算不对称的原因吧。

    cc2541-->手机,这条链路由于PA的原因,到达手机的功率被增加了。

    但是,手机-->cc2541,LNA对于灵敏度的改善并没有上行的dB那么大。所以接收不到信号了。

    如果没有射频测试仪器的话,可以用示波器实际看看PA的控制波形是否正确。

    另外,也可以两边都是CC2541看看。

    BR. AZ