2012-12-18 08:31 PM
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 #stlm2013-01-03 07:34 AM
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