Mac address

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

cross mob
Anonymous
Not applicable

 Hello All;

   

Hope you all doing good!

   

I'm planning to buy Mac address for my PSoC 4 BLE IC, because in my application 50 units connected to 1 dongle. At dongle side I want to identify the data,meaning want to know which unit is sending that data!

   

Where can i buy this Mac address? Is it from IEEE or is it a good idea to buy MAXIM EPROM contains Mac adress?

   

 

   

Please advice, thank you!

   

 

   

Regards

   

kirangkr

0 Likes
1 Solution
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

 The MID was not a unique die/device ID -

   

 

   

Following registers would provide a unique ID for every PSoC 3 device (Refer to PSoC 3 Registers TRM):     

 

   

FLSHID_CUST_TABLES_Y_LOC (0xC0100) - Y coordinate in Wafer     

 

   

FLSHID_CUST_TABLES_X_LOC  (0xC0101) - X coordinate in Wafer     

 

   

FLSHID_CUST_TABLES_WAFER_NUM (0xC0102) - Wafer No     

 

   

FLSHID_CUST_TABLES_LOT_LSB: 0xC0103 - LOT number (LSB)     

 

   

FLSHID_CUST_TABLES_LOT_MSB: 0xC0104 - LOT number (MSB)     

 

   

FLSHID_CUST_TABLES_WRK_WK: 0xC0105 - Work Week of Manufacturing     

 

   

FLSHID_CUST_TABLES_FAB_YR: 0xC0106 - Fab ID & Year of Manufacturing.     

 

   

      

 

   

 

   

But the only drawback of this is that "Year of Manufacturing" parameter is only from 0 to 9. So a chip manufactured on 2013 and 2023 will have the same year number.

   

 

   

     

 

   

Also in PSOC 5LP, but not in PSOC 4 Register TRM, so appears not to be implemented in NVL latches PSOC 4.

   

 

   

Regards, Dana.

View solution in original post

0 Likes
13 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There could be a chance you do not need that at all. There is an unique ID scheme when you check the "Silicon generated part of device address". Datasheet states

   

Silicon generated “Company assigned” part of device address
When checked, the “Company assigned” part of the device address is generated using the wafer ID and X-Y die location on the wafer.

   

Probably needs some more information, I'll try to get some.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Hi Bob;

   

Thnak you for your reply!

   

When i check with cypress FAE, he said PSoC 4 BLE is not having inbuilt MID( Manufacture ID)

   

 

   

Regards

   

Kirangkr

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I just sent an email to one of my Cypress contacts asking to reply to your thread, might take some time since at their location is late afternoon.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

 The MID was not a unique die/device ID -

   

 

   

Following registers would provide a unique ID for every PSoC 3 device (Refer to PSoC 3 Registers TRM):     

 

   

FLSHID_CUST_TABLES_Y_LOC (0xC0100) - Y coordinate in Wafer     

 

   

FLSHID_CUST_TABLES_X_LOC  (0xC0101) - X coordinate in Wafer     

 

   

FLSHID_CUST_TABLES_WAFER_NUM (0xC0102) - Wafer No     

 

   

FLSHID_CUST_TABLES_LOT_LSB: 0xC0103 - LOT number (LSB)     

 

   

FLSHID_CUST_TABLES_LOT_MSB: 0xC0104 - LOT number (MSB)     

 

   

FLSHID_CUST_TABLES_WRK_WK: 0xC0105 - Work Week of Manufacturing     

 

   

FLSHID_CUST_TABLES_FAB_YR: 0xC0106 - Fab ID & Year of Manufacturing.     

 

   

      

 

   

 

   

But the only drawback of this is that "Year of Manufacturing" parameter is only from 0 to 9. So a chip manufactured on 2013 and 2023 will have the same year number.

   

 

   

     

 

   

Also in PSOC 5LP, but not in PSOC 4 Register TRM, so appears not to be implemented in NVL latches PSOC 4.

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

These two threads may provide additional help -

   

 

   

    

   

          

   

http://www.cypress.com/?app=forum&id=2492&rID=74915     Device ID stuff

   

http://www.cypress.com/?app=forum&id=2492&rID=74916     Device ID stuff

   

 

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Hi Bob;

   

Thank you! waiting for your updates!

   
    Hi Dabaknight;   
   
        
   
    Thanks for the info shared!   
   
        
   
    Regards   
   
    kirangkr   
0 Likes
Anonymous
Not applicable

 Sorry danaaknight* typo error

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Glad to assist.

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Hi All!

   

Good Day!

   

In BLE component data sheet(page 30) i found the following

   

Public device address (Company ID – Company assigned)

   

This is a unique 48-bit Bluetooth public address that is used to identify the device. It is divided into the following two parts:

   

 “Company ID” part is contained in the 24 most significant bits. It is a 24-bit Organization Unique Identifier (OUI) address assigned by IEEE.

   

 “Company assigned” part is contained in the 24 least significant bits.

   

The address configured here is static and is designed to be used for development purposes only. This address is programmed into the device via the SWD interface. Normally this address must be programmed only once during mass production, and then never changed in-field. However, user flash can be reprogrammed in-field many times. During prototyping (FW design), this address can be programmed using MiniProg3. For that you can use the application installed in the “./Example/Misc/PSoC4-BLE-SFLASH-Update” folder of PSoC Programmer. This application is provided in source code, and can be used as a reference example for implementation in production programmers.

   

Silicon generated “Company assigned” part of device address

   

When checked, the “Company assigned” part of the device address is generated using the wafer ID and X-Y die location on the wafer.

   

 

   

Any body use this before?

   

Regards 

   

kirangkr

0 Likes
Anonymous
Not applicable

 If the option for Silicon generated "Company assigned" part of device address is checked, you can change the company ID in the BLE component, but the company assigned is automatically picked up from the device (depending on the silicon). You cannot change it from GUI but can change it in firmware.

   

    

   

    

          

When you uncheck the option for Silicon generated "Company assigned" part of device address, you can change the company ID and company assigned but the hex file needs to be different for mass production. If the same hex file with same company assigned value are flashed to different devices, they will advertise with the same silicon ID and the client may be unable to identify them.   

Also, have a look at: Project #029: Supervisory Flash on PSoC 4 BLE

   

(http://www.cypress.com/?rid=110097)

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Cypress answered separately to my question:

   

 

   

Each BLE device has a public device address, which is stored in SFlash and can be read and wrote in firmware or software tool.

Checking 'Silicon generated part of device address' will generate a random address. For a small amount of devices, such as in development stage, this can make a unique address for each device.
But for a large amount of devices, this method can't ensure uniqueness. The reason is Wafer ID and X/Y coordinate are not designed for unique.

Please read page 30(public device address) of BLE component datasheet. It mentions a tool called 'PSoC4-BLE-SFLASH-Update', it can change the device address with your own algorithm to ensure address is unique.


Thanks,
Eugene


   

 

   

 

   

Hope that helps to clarify the situation

   

Bob

Anonymous
Not applicable

 Hi Bob,BMAH,danaaknight,

   

 

   

Thank you for your support, i got enough to move forward!

   

 

   

Regards

   

Kirangkr

0 Likes
Anonymous
Not applicable

Hi All,

   

I want to build a Beacon with Raspbarry Pi and usb Bluetooth , do you know how can I have my own Mac address? because it uses the usb Mac address as the new Beacon mac address.

   

thanks

0 Likes