STM32W108 temperature sensor problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-12-18 8:31 PM
Posted on December 19, 2012 at 05:31
Hi guys,
I've got a problem when trying to read the temperature from STLM20 on-board sensor. I'm using the STLM20_ReadTemp() function and when it reaches the line while (!( ADC->ISR & ADC_IT_DMABF)); it never goes out of that loop. In call the STLM20_Init(() function in the beginning, I think that ADC->ISR doesn't change it's value when it should (should there be an interrupt?)I'm using MB950 board with STM32W108CBThanks for your help. #stm32w108 #stm32w-rfckit #stlm
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-01-03 7:34 AM
Posted on January 03, 2013 at 16:34
Hi przemek,
Could you please follow the temperature sensor example in ''STM32W108 standard library firmware'' V1.0.1''. You will find that STLM20_ReadTemp() is used after some configurations in main.c Let me know if you need more details. With regards, matarus