Skip to content

[FEATURE] STM32H5 Digital Temperature Sensor (DTS) Driver #16192

@stbenn

Description

@stbenn

Is your feature request related to a problem? Please describe.

I am working on implementing a driver for the digital temperature sensor (DTS) peripheral on the STM32H5, hardware files were implemented in #16180. There are no existing implementations of this peripheral in other architectures, and I was not able to find an already established upper level driver for temperature sensor peripherals (Please correct me if there is one and I missed it!!).

I am opening this issue to have discussion and feedback on how I should plan to implement the driver; especially if it requires adding drivers outside of board architecture support. This is my first time implementing a driver without referencing another architecture implementations.

Describe the solution you'd like

Ideally, it would be good to have a driver that is accessible from user applications. Initially a software triggered implementation will be fine, but eventually it would be good to have support for the hardware trigger features. I am open to behavior configuration happening in Kconfig, board files, or allowing user application to change it.

Describe alternatives you've considered

If an upper level driver is not feasible or desirable to implement, I would implement a driver that is accessible from board specific logic. Maybe with boardioctl commands.

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions