Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added temperature sensor calibration values. #506

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion data/extra/family/STM32F3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
peripherals:
- name: VREFINTCAL
address: 0x1FFFF7BA
registers:
registers:
kind: vrefintcal
version: v1
block: VREFINTCAL
- name: TEMPCAL
address: 0x1FFF75B8
registers:
kind: tempcal
version: v1
block: TEMPCAL
- name: OPAMP1
pins:
- pin: PA7
Expand Down
12 changes: 12 additions & 0 deletions data/extra/family/STM32G0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@ peripherals:
kind: tamp
version: g0
block: TAMP
- name: VREFINTCAL
address: 0x1FFF75AA
registers:
kind: vrefintcal
version: v1
block: VREFINTCAL
- name: TEMPCAL
address: 0x1FFF75A8
registers:
kind: tempcal
version: v2
block: TEMPCAL
12 changes: 12 additions & 0 deletions data/extra/family/STM32G4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ peripherals:
kind: tamp
version: g4
block: TAMP
- name: VREFINTCAL
address: 0x1FFF75AA
registers:
kind: vrefintcal
version: v1
block: VREFINTCAL
- name: TEMPCAL
address: 0x1FFF75A8
registers:
kind: tempcal
version: v2
block: TEMPCAL
- name: OPAMP1
pins:
- pin: PA1
Expand Down
6 changes: 6 additions & 0 deletions data/extra/family/STM32L4+.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ peripherals:
kind: vrefintcal
version: v1
block: VREFINTCAL
- name: TEMPCAL
address: 0x1FFF75A8
registers:
kind: tempcal
version: v2
block: TEMPCAL
8 changes: 7 additions & 1 deletion data/extra/family/STM32L4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
peripherals:
- name: VREFINTCAL
address: 0x1FFF75AA
registers:
registers:
kind: vrefintcal
version: v1
block: VREFINTCAL
- name: TEMPCAL
address: 0x1FFF75A8
registers:
kind: tempcal
version: v2
block: TEMPCAL
6 changes: 6 additions & 0 deletions data/extra/family/STM32WB.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ peripherals:
kind: vrefintcal
version: v1
block: VREFINTCAL
- name: TEMPCAL
address: 0x1FFF75A8
registers:
kind: tempcal
version: v2
block: TEMPCAL
6 changes: 6 additions & 0 deletions data/extra/family/STM32WL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ peripherals:
kind: tamp
version: wl
block: TAMP
- name: TEMPCAL
address: 0x1FFF75A8
registers:
kind: tempcal
version: v2
block: TEMPCAL
13 changes: 13 additions & 0 deletions data/registers/tempcal_v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
block/TEMPCAL:
description: Temperature Sensor Factory Calibration
items:
- name: DATA1
description: Factory calibration value at 30ºC
byte_offset: 0
bit_size: 16
access: Read
- name: DATA2
description: Factory calibration value at 130ºC
byte_offset: 10
bit_size: 16
access: Read
13 changes: 13 additions & 0 deletions data/registers/tempcal_v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
block/TEMPCAL:
description: Temperature Sensor Factory Calibration
items:
- name: DATA1
description: Factory calibration value at 30ºC
byte_offset: 0
bit_size: 16
access: Read
- name: DATA2
description: Factory calibration value at 130ºC
byte_offset: 34
bit_size: 16
access: Read