1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/**
@page UTILS_ReadDeviceInfo UTILS example
@verbatim
******************************************************************************
* @file Examples_LL/UTILS/UTILS_ReadDeviceInfo/readme.txt
* @author MCD Application Team
* @brief Description of the UTILS example.
******************************************************************************
*
* Copyright (c) 2019-2021 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
@endverbatim
@par Example Description
This example reads the UID, Device ID and Revision ID and saves
them into a global information buffer.
Then UID, Device ID and Revision ID will be saved in following global variables:
- aShowDeviceID: Device identifier
- aShowRevisionID: Revision identifier (This field indicates the revision of the device.
For example, it is read as 0x1000 for Revision 1.0)
- aShowCoordinate: X and Y coordinates on the wafer expressed in BCD format
- aShowWaferNumber: WAF_NUM[7:0], Wafer number (8-bit unsigned number)
- aShowLotNumber: LOT_NUM[55:0], Lot number (ASCII encoded)
@par Keywords
System, Utils, Device info, UID, Device ID, Revision ID, Wafer, Lot number,
@par Directory contents
- UTILS/UTILS_ReadDeviceInfo/Inc/stm32wbxx_it.h Interrupt handlers header file
- UTILS/UTILS_ReadDeviceInfo/Inc/main.h Header for main.c module
- UTILS/UTILS_ReadDeviceInfo/Inc/stm32_assert.h Template file to include assert_failed function
- UTILS/UTILS_ReadDeviceInfo/Src/stm32wbxx_it.c Interrupt handlers
- UTILS/UTILS_ReadDeviceInfo/Src/main.c Main program
- UTILS/UTILS_ReadDeviceInfo/Src/system_stm32wbxx.c STM32WBxx system source file
@par Hardware and Software environment
- This example runs on STM32WB15CCUx devices.
- This example has been tested with NUCLEO-WB15CC board and can be
easily tailored to any other supported device and development board.
@par How to use it ?
In order to make the program work, you must do the following :
- Open your preferred toolchain
- Rebuild all files and load your image into target memory
- Run the example
* <h3><center>© COPYRIGHT STMicroelectronics</center></h3>
*/
|