cancel
Showing results for 
Search instead for 
Did you mean: 

Nucelo STM32H563ZIT6: Internal temperature sensor issue

Subhashzimetrics
Associate II

Hi Support team,

I am working on STM32H563 Nucleo project and trying to integrate internal temperature sensor.

I enabled internal temperature sensor channel available at ADC1, but getting crash while executing below conversion code:

TS_CAL1 = *TS_CAL1_ADDR;

PFA project for reference.

Please help in resolving the issue.

Thanks.

(Virus scan in progress ...)
1 REPLY 1
Andrew Neil
Super User

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results.

 


@Subhashzimetrics wrote:

getting crash while executing below conversion code:

TS_CAL1 = *TS_CAL1_ADDR;


What, exactly, do you mean by "getting crash" ?

If it's a Hard Fault, see Tips on debugging Cortex-M Hard Faults.

 

BTW: Although it doesn't really matter for just a single line like that, please see How to insert source code for putting source code in a post.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.