PSoC™ 4 and PSoC™ 6 with AIROC™ Bluetooth® LE: Disable Adv Random Delay - KBA235802

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
NXTY_Shibutani
Level 5
Level 5
Distributor - NEXTY (Japan)
First like received 25 replies posted 10 solutions authored

Hi,Communites, I want to translate the following KBA235802 into Japanese.

https://community.infineon.com/t5/Knowledge-Base-Articles/PSoC-4-and-PSoC-6-with-AIROC-Bluetooth-LE-...

 

Best Regards,

T. Shibutani

0 Likes
1 Solution
NXTY_Shibutani
Level 5
Level 5
Distributor - NEXTY (Japan)
First like received 25 replies posted 10 solutions authored

PSoC™ 4 および PSoC™ with AIROC™ Bluetooth® LE:アドバタイズ・ランダム・ディレイの無効化 - KBA235802

Version: **

連続する2つのアドバタイズイベントの開始時刻の間隔(T_adv_event)は、以下のように規定されています。

T_adv_event = advInterval + advDelay

advDelayは、アドバタイズイベント毎にリンク層が生成する0ms~10msの範囲の擬似ランダム値です。
このadvDelayはCYREG_BLE_BLELL_ADV_CONFIGレジスタを使用して以下のように削除することができます。

○For PSoC™ 4 CY8C4x47xx-BLxxxx MCU with AIROC™ Bluetooth® LE:
PSoC™ 4 Bluetooth® LE デバイスでは、CYREG_BLE_BLELL_ADV_CONFIGレジスタでadvDelayを無効にできます(次のサンプルコード部分を参照してください)。

#define ADV_RAND_DISABLE_MASK 0x100
uint32_t advRand;

advRand = CY_GET_XTND_REG32(CYREG_BLE_BLELL_ADV_CONFIG);
advRand |= ADV_RAND_DISABLE_MASK;
CY_SET_XTND_REG32(CYREG_BLE_BLELL_ADV_CONFIG, advRand);

○For PSoC™ 6 CY8C63x7 MCU with AIROC™ Bluetooth® LE:
PSoC™ 6 Bluetooth® LE デバイスでは、CYREG_BLE_BLELL_ADV_CONFIGレジスタでadvDelayを無効にできます(次のサンプルコード部分を参照してください)。

#define ADV_RAND_DISABLE_MASK 0x100
uint32_t advRand;

advRand = CY_GET_REG32(CYREG_BLE_BLELL_ADV_CONFIG);
advRand |= ADV_RAND_DISABLE_MASK;
CY_SET_REG32(CYREG_BLE_BLELL_ADV_CONFIG, advRand);

注意:
Bluetooth® LEの仕様によると、干渉を避けるためにアドバタイズ・ランダム・ディレイ(advDelay)が使用されます。
このランダム性により、異なるデバイスのアドバタイズメントの衝突の可能性を低減します。
アドバタイズ・ランダム・ディレイ(advDelay)の無効化は、製品ビルドでの使用は推奨されません。
この無効化は、内部テスト目的でのみ使用することができます。例えば、一定のアドバタイズ間隔での消費電流を測定する場合など。

View solution in original post

0 Likes
3 Replies
IFX_Publisher2
Community Manager
Community Manager
Community Manager
1000 replies posted First like given 750 replies posted

Hi T. Shibutani san,

Confirm to work on this KBA.

Thanks,
BIndu

0 Likes
NXTY_Shibutani
Level 5
Level 5
Distributor - NEXTY (Japan)
First like received 25 replies posted 10 solutions authored

PSoC™ 4 および PSoC™ with AIROC™ Bluetooth® LE:アドバタイズ・ランダム・ディレイの無効化 - KBA235802

Version: **

連続する2つのアドバタイズイベントの開始時刻の間隔(T_adv_event)は、以下のように規定されています。

T_adv_event = advInterval + advDelay

advDelayは、アドバタイズイベント毎にリンク層が生成する0ms~10msの範囲の擬似ランダム値です。
このadvDelayはCYREG_BLE_BLELL_ADV_CONFIGレジスタを使用して以下のように削除することができます。

○For PSoC™ 4 CY8C4x47xx-BLxxxx MCU with AIROC™ Bluetooth® LE:
PSoC™ 4 Bluetooth® LE デバイスでは、CYREG_BLE_BLELL_ADV_CONFIGレジスタでadvDelayを無効にできます(次のサンプルコード部分を参照してください)。

#define ADV_RAND_DISABLE_MASK 0x100
uint32_t advRand;

advRand = CY_GET_XTND_REG32(CYREG_BLE_BLELL_ADV_CONFIG);
advRand |= ADV_RAND_DISABLE_MASK;
CY_SET_XTND_REG32(CYREG_BLE_BLELL_ADV_CONFIG, advRand);

○For PSoC™ 6 CY8C63x7 MCU with AIROC™ Bluetooth® LE:
PSoC™ 6 Bluetooth® LE デバイスでは、CYREG_BLE_BLELL_ADV_CONFIGレジスタでadvDelayを無効にできます(次のサンプルコード部分を参照してください)。

#define ADV_RAND_DISABLE_MASK 0x100
uint32_t advRand;

advRand = CY_GET_REG32(CYREG_BLE_BLELL_ADV_CONFIG);
advRand |= ADV_RAND_DISABLE_MASK;
CY_SET_REG32(CYREG_BLE_BLELL_ADV_CONFIG, advRand);

注意:
Bluetooth® LEの仕様によると、干渉を避けるためにアドバタイズ・ランダム・ディレイ(advDelay)が使用されます。
このランダム性により、異なるデバイスのアドバタイズメントの衝突の可能性を低減します。
アドバタイズ・ランダム・ディレイ(advDelay)の無効化は、製品ビルドでの使用は推奨されません。
この無効化は、内部テスト目的でのみ使用することができます。例えば、一定のアドバタイズ間隔での消費電流を測定する場合など。

0 Likes
IFX_Publisher2
Community Manager
Community Manager
Community Manager
1000 replies posted First like given 750 replies posted

Hi  T. Shibutani san

Confirmed to receive this KBA.

Thank you for your contribution.

Thanks,
Bindu

0 Likes