This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF5340 Device ID

Hi, I need to fetch the Device ID of nRF5340 Chip. In datasheet Info.DeviceID[n], n = 0...1 , is mentioned. How to access this information ? Also, I am using nTF5340-DK kit. Does, each kit also has unique ID or not ? If yes, Is Kit ID different than Chip ID ? If, yesm How to access the Kit ID ? 

  • Hi Gulzar,

    The Device ID / Kit ID is unique for the DK and can be found on the White Label on the Debugger:

    It goes in the order of:

    PCA number

    DK version

    Production Date/Week

    Kit ID / Device ID

    Then the chip ID can be found on the chip itself:

    You could take a look here.

    Regards,

    Priyanka

  • Dear Priyanks, thanks for reply. I need Chip ID and DK ID in software. I need to read nRF5340 ID from FICR area. What Zephyr  library funcrion and .prj settings to use to read FICR area. As well where is DK Kit number stored on the Chip and how to access in Zephyr Software  ?

  • Hi Gulzar,

    In order to get the Device ID from the FICR, you can try the API nrf_ficr_deviceid_get(). It is a randomly generated ID for each Device.

    mexco said:
    As well where is DK Kit number stored on the Chip

    Are you referring to the serial number of the DK ? This is not stored on the Chip, it is the serial number of the J-Link interface MCU.

    Regards,

    Priyanka

  • Dear Priyanka, where is the suggested API located in nrc folder to include in my code ? May, you show any example where used this API ? I included #include <hal/nrf_ficr.h> in the main file. The CMake Compil and Build is sucessful. When, Debug using nRF5340DK, then filed to get binding ... see atached images. What should be written in prj file ? or what else to do ?

      

    Gulzar Singh

  • You can take a look at this GitHub link.

    -Priyanka

Related