analogRead() Freezes the program

Post here first, or if you can't find a relevant section!
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: analogRead() Freezes the program

Post by GonzoG »

saini999 wrote: Sat May 06, 2023 5:17 pm
GonzoG wrote: Sat May 06, 2023 2:51 pm Have you checked if board setup in stm32duino (clocks, etc) is same are your hardware ??
Proteus only has External Clock Frequency for STM which is set to 8Mhz by default

Idk about board setup, please let me know what files have configs
So it's not an issue with stm32duino, but with Proteus.
saini999
Posts: 8
Joined: Sat May 06, 2023 5:36 am

Re: analogRead() Freezes the program

Post by saini999 »

Well i think it's problem with proteus vsm so I've ordered a stm32f407ve development board and I'll test it on that then i can debug it too which will be easier to find out what's causing the issue if there is any with the code
saini999
Posts: 8
Joined: Sat May 06, 2023 5:36 am

Re: analogRead() Freezes the program

Post by saini999 »

I just received the development board and tested the interrupt issue and it's working fine it's just an issue with proteus
Post Reply

Return to “General discussion”