Download How to design a simple temperature measurement application using
Transcript
Contents AN3964 Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 2 3 Reference documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Application overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 Temperature measurement and data processing . . . . . . . . . . . . . . . . . . . . 3 2.3 Application example description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1 Setting up the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.2 Using the demonstration application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.2.1 3.3 4 Temperature sensor calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Estimation of temperature sensor engineering tolerance . . . . . . . . . . . . . . 8 Software description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.1 STM32L peripherals used by the application . . . . . . . . . . . . . . . . . . . . . . . 9 4.2 STM32L15x standard firmware library configuration . . . . . . . . . . . . . . . . 10 5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2/12 Doc ID 022101 Rev 1 www.BDTIC.com/ST