<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックRe: How shall we write BLE MAC address to KW36?</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931797#M7186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 40-bit MAC address is stored in MAC_ADDR_LSB and MAC_ADDR_MSB, those are read only registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check &lt;A href="https://www.nxp.com/docs/en/application-note/AN12272.pdf"&gt;this &lt;/A&gt;application note? I believe this will solve all your questions regarding the MAC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2019 16:54:15 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2019-09-17T16:54:15Z</dc:date>
    <item>
      <title>How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931796#M7185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you please teach me how shall we write BLE MAC address to KW36?&lt;/P&gt;&lt;P&gt;I think it shall be stored in one-time flash area but the address for BLE MAC address is not described in the document.&lt;/P&gt;&lt;P&gt;MKW36A512RM.pdf has the description that&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;45.2.12.1.4.2 Function&lt;BR /&gt;The Radio MAC Address registers provide a unique ID that is stored in the Flash during&lt;BR /&gt;factory test.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However, I don't know what factory test means. Is it NXP factory test or our factory test?&lt;/P&gt;&lt;P&gt;Question is:&lt;/P&gt;&lt;P&gt;1. Do we need to pass the list of BLE MAC address for our chips to NXP and ask NXP to write them to the chips?&lt;/P&gt;&lt;P&gt;2. Shall we write BLE MAC address by ourselves? Then, how shall we write?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 02:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931796#M7185</guid>
      <dc:creator>kojiro_kaizuka</dc:creator>
      <dc:date>2019-09-17T02:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931797#M7186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 40-bit MAC address is stored in MAC_ADDR_LSB and MAC_ADDR_MSB, those are read only registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check &lt;A href="https://www.nxp.com/docs/en/application-note/AN12272.pdf"&gt;this &lt;/A&gt;application note? I believe this will solve all your questions regarding the MAC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931797#M7186</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-09-17T16:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931798#M7187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that MAC_ADDR_LSB/MSB are read only registers and we can read their value once MAC address is written to flash.&lt;/P&gt;&lt;P&gt;Based on the application note, I understand NXP writes BLE MAC address before shipping the KW36.&lt;/P&gt;&lt;P&gt;Would you please tell us what BLE MAC address do you write in the factory?&lt;/P&gt;&lt;P&gt;Are they the ones which are numbered as NXP product?&lt;/P&gt;&lt;P&gt;Or shall we provide the numbers for our (Visteon) product?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 00:47:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931798#M7187</guid>
      <dc:creator>kojiro_kaizuka</dc:creator>
      <dc:date>2019-09-18T00:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931799#M7188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BD address it's set in run time by software, you will need to use your number and set those in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check in the examples the API to set it &lt;EM&gt;&lt;SPAN style="color: #0000ff;"&gt;ControllerSetBD_ADDR&lt;/SPAN&gt; &lt;/EM&gt;, you can find it in the&lt;EM style="color: #993366; "&gt; ble_controller_task.c&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 13:47:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931799#M7188</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-09-19T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931800#M7189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you are talking about is the 48-bits bluetooth address for QN908x. ControllerSetBD_ADDR is only enabled for QN908x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my question is about 40-bits Bluetooth MAC address itself.&lt;/P&gt;&lt;P&gt;I understand that you write it in your factory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The point is what MAC address number is written in your factory.&lt;/P&gt;&lt;P&gt;Is it MAC address assigned for NXP or MAC address assigned for Visteon?&lt;/P&gt;&lt;P&gt;If you can write Visteon MAC address, we need to pass the list of MAC address&amp;nbsp;with the request of purchase of the chips.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 01:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931800#M7189</guid>
      <dc:creator>kojiro_kaizuka</dc:creator>
      <dc:date>2019-09-24T01:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931801#M7190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I misunderstood this MAC_ADDR_LSB/MSB and bluetooth address.&lt;/P&gt;&lt;P&gt;Please tell me the current my understanding is correct or not.&lt;/P&gt;&lt;P&gt;1. MAC_ADDR_LSB/MSB register gives us the unique id provided by NXP. But we don't need to use it as Bluetooth MAC address. Anyway, MAC_ADDR_LSB/MSB is 40-bits data and we need to provide 48-bits MAC address.&lt;/P&gt;&lt;P&gt;2. Bluetooth MAC address shall be set to global variable gBD_ADDR like this..&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; FLibMemCpy(gBD_ADDR, unique_mac_address_provided_by_us, 6);&lt;/P&gt;&lt;P&gt;3. We need to provide unique MAC address by ourselves if we don't use MAC_ADDR provided by NXP. And if we use MAC_ADDR provided by NXP, we still need to use our OUI for Bluetooth MAC address and we cannot simply add 8 bits to MAC_ADDR for Bluetooth MAC address.If we use our OUI, remaining LAP is 24 bits and uniqueness of 40-bits MAC_ADDR provided by NXP is useless.&lt;/P&gt;&lt;P&gt;4. The storage where we shall put the tracked (by Visteon) Bluetooth MAC address shall be decided by us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just copying Bluetooth MAC address to gBD_ADDR is okay for KW36?&lt;/P&gt;&lt;P&gt;(It seems vulnerable to use global variable to store Bluetooth MAC address run time.)&lt;/P&gt;&lt;P&gt;What is the use of MAC_ADDR provided by NXP for the real product?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 08:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931801#M7190</guid>
      <dc:creator>kojiro_kaizuka</dc:creator>
      <dc:date>2019-09-25T08:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931802#M7191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the &lt;EM style="color: #0000ff; "&gt;ControllerSetBD_ADDR&lt;/EM&gt; function you can see that it takes the registers of the MAC in the device and it generates a random number that it's being used as well in the &lt;EM style="color: #800080; "&gt;BD_ADDR&lt;/EM&gt;. You can move the location of it, still, you will need to consider that the stack uses it and you will need to modify both the function that sets and check it as well as the linker file where the parameters are being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This function is also used for the KW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not possible to provide 24 unique bits for all our devices,&amp;nbsp; you can try instead of using a public address use other of the available option as it is mentioned in the&lt;EM style="color: #339966; "&gt; Vol 6. Part B. Section 1.3&lt;/EM&gt; of the &lt;EM&gt;&lt;SPAN style="color: #800000;"&gt;Bluetooth LE specification&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 16:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931802#M7191</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-09-25T16:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931803#M7192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I would like to ask you is how we can use Public Device Address for KW36.&lt;/P&gt;&lt;P&gt;We already got our OUI from&amp;nbsp;&lt;SPAN style="color: #444444; background-color: #ffffff;"&gt;IEEE Registration Authority and will assign the unique LAP for each device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this case, can we just set this Public Device Address to gBD_ADDR and we can completely forget about MAC_ADDR assigned by NXP?&lt;/P&gt;&lt;P&gt;Then, what is the use of MAC_ADDR assigned by NXP?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 01:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931803#M7192</guid>
      <dc:creator>kojiro_kaizuka</dc:creator>
      <dc:date>2019-09-26T01:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How shall we write BLE MAC address to KW36?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931804#M7193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAC_ADDR works as a unique identifier for the KW families, you do not have to use it if you don't need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;BR /&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2019 21:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-shall-we-write-BLE-MAC-address-to-KW36/m-p/931804#M7193</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-09-27T21:13:52Z</dc:date>
    </item>
  </channel>
</rss>

