Community Translation - Setting Bluetooth Device Address – KBA211407

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

cross mob
HiOm_1802421
Level 5
Level 5
Distributor - Marubun (Japan)
50 replies posted 50 questions asked 25 replies posted

HI,

I tried to translate this KBA211407 into Japanese.

Setting Bluetooth Device Address – KBA211407

==========

タイトル:Bluetoothデバイスアドレスの設定

質問:シリコン生成/SFlashに基づいて、デバイスのアドレスを設定するにはどうすればいいですか?

回答:

Bluetoothデバイスのパブリックデバイスアドレス(48ビット)には、次の2つのパートがあります。

Image_1.png

  • 会社IDパート:

これは、IEEEによって割り当てられた24ビットの組織固有識別子(OUI)アドレスです。テスト目的で、サイプレスのOUI(0x00A050)を使用できます。生産目的では貴社のOUIを取得し使用する必要があります。採用者あるいはアソシエイトメンバーシップを取得した後、Blueotth SIG(https://www.bluetooth.org/en-us/specification/assigned-numbers/company-identifiers を参照)から会社IDを取得するか、IEEE(https://standards.ieee.org/develop/regauth/oui/ を参照)によって割り当てられたOUIを使用できます。

  • 会社指定パート:

最下位24ビットは、会社指定パートを構成します。

このパートは、シリコン生成の会社指定値を使用するか、値を直接Flashに書き込むことが出来ます。

シリコン生成値に基づいてこの部分を設定するには、PSoC® Creator™のTopDesignでBLE Component Configurationを開きます。

Silicon generated “Company Assigned” part of the device addressチェックボックスをチェックします。

図1:BLE Component Configurationのパブリックデバイスアドレス設定

Image_2.png

このオプションを有効にした場合、デバイスアドレスの「会社指定」パートが、ウェハー上のウエハーIDとXYダイの場所を使用して生成されます。

PSoC Creatorは、ダイXレジスタの6ビット、ダイYレジスタの6ビット、ダイウエハーの5ビット、ダイロットレジスタの7ビットを使用してデバイスアドレスの会社指定部分を入力します。従って、2^24の異なるデバイスアドレスが取得できます。

1. PSoC6-BLE2-SFLASH-Update.exe は、C:\Program Files (x86)\Cypress\Programmer\Examples\Misc\PSoC6-BLE2-SFLASH-Update\Executable フォルダにあります。Row 0の行に cy_stc_ble_gap_bd_addr_t 型のデバイスアドレス構造を入力してSFlashに保存します。図2を参照してください。

図2:PSoC 6 BLE SFlash Update Tool

Image_3.png

2. PSoC4-BLE-SFLASH-Update.exe は、C:\Program Files (x86)\Cypress\Programmer\Examples\Misc\PSoC4-BLE-SFLASH-Update\Executable フォルダにあります。 図3を参照してください。このツールでは、Row 0の行にCYBLE_GAP_BD_ADDR_T 型のデバイスアドレス構造を入力して、SFlashに保存します。

図3:PSoC 4 BLE SFlash Update Tool

Image_4.png

Row 0アドレスは、128KB Flashのデバイスは0x0FFF F200、256KB Flashのデバイスは0x0FFF F400です。

Row 1、Row 2とRow 3は、コンポーネントでは使用されず、ユーザー情報の保存に使用できます。Rowアドレスと長さ(128、256または512バイト)は、選択したデバイスのFlashメモリサイズに依存することに注意してください。このアプリケーションはソースコードで提供されており、生産プログラマでの実装の参照例として使用できます。

==========

BR,

Omoi

2 Replies
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Omoi-san

We receive your translation, it will be published to KBA to Community.

After upload, You will receive the points as the word of KBA.

Due to the current volume of works, Please bear with me for the delayed the response,

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Omoi-san

Thanks for waiting for long time,

Your translation has been published to Community.

Bluetoothデバイスアドレスの設定– KBA211407 - Community Translated (JA)

You will receive the point as a token of appreciation.

Thanks for your contribution.

Regards,

Jenna

Jenna Jo
0 Likes