[stm32] Add Factory Calibration values where available
Add memorymap entries for ST calibration data, the vref internal, and the temp sensor at 30C and 110C for the parts that provide this data. F1 and F2 do not appear to have this anywhere.
This commit is contained in:
parent
50daf0ef1e
commit
638eeebeec
@ -99,4 +99,9 @@
|
||||
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
||||
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 8)
|
||||
|
||||
/* ST provided factory calibration values @ 3.3V */
|
||||
#define ST_VREFINT_CAL MMIO16(0x1FFFF7BA)
|
||||
#define ST_TSENSE_CAL1_30C MMIO16(0x1FFFF7B8)
|
||||
#define ST_TSENSE_CAL2_110 MMIO16(0x1FFFF7C2)
|
||||
|
||||
#endif
|
||||
|
@ -121,4 +121,9 @@
|
||||
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
||||
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 8)
|
||||
|
||||
/* ST provided factory calibration values @ 3.3V */
|
||||
#define ST_VREFINT_CAL MMIO16(0x1FFFF7BA)
|
||||
#define ST_TSENSE_CAL1_30C MMIO16(0x1FFFF7B8)
|
||||
#define ST_TSENSE_CAL2_110 MMIO16(0x1FFFF7C2)
|
||||
|
||||
#endif
|
||||
|
@ -139,4 +139,9 @@
|
||||
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
||||
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 8)
|
||||
|
||||
/* ST provided factory calibration values @ 3.3V */
|
||||
#define ST_VREFINT_CAL MMIO16(0x1FFF7A2A)
|
||||
#define ST_TSENSE_CAL1_30C MMIO16(0x1FFF7A2C)
|
||||
#define ST_TSENSE_CAL2_110 MMIO16(0x1FFF7A2E)
|
||||
|
||||
#endif
|
||||
|
@ -111,6 +111,11 @@
|
||||
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
||||
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 0x14)
|
||||
|
||||
/* ST provided factory calibration values @ 3.0V */
|
||||
#define ST_VREFINT_CAL MMIO16(0x1FF80078)
|
||||
#define ST_TSENSE_CAL1_30C MMIO16(0x1FF8007A)
|
||||
#define ST_TSENSE_CAL2_110C MMIO16(0x1FF8007E)
|
||||
|
||||
/* Make the map names match those for other families to allow commonality */
|
||||
#define SPI1_I2S_BASE SPI1_BASE
|
||||
#define SPI2_I2S_BASE SPI2_BASE
|
||||
|
Loading…
x
Reference in New Issue
Block a user