Software malfunction !!!

General discussion on mikroC PRO for AVR.
Author
Message
Levi
Posts: 55
Joined: 01 Mar 2008 20:27

Re: Software malfunction !!!

#16 Post by Levi » 09 Dec 2021 09:21

Hi,
In this case you have a hardware problem ,usually this type of problems if you have relays on board or inductive loads generate emc situations.
Power supply of the microcontroller should be stable if there is no separate reference voltage for adc , pcb signal routing for adc should respect some rules , ground loops and so on...

Regards,
Levi

public2010
Posts: 94
Joined: 05 May 2009 18:31
Location: Somewhere in Europe

Re: Software malfunction !!!

#17 Post by public2010 » 09 Dec 2021 10:04

I'll check the hardware again.

public2010
Posts: 94
Joined: 05 May 2009 18:31
Location: Somewhere in Europe

Re: Software malfunction !!!

#18 Post by public2010 » 02 Jan 2022 17:01

As I told you, I reproduced the program in both Microcip Studio and mikroC for AVR. I also checked the hardware. Eventually I succeeded, I had a code error in both compilers and for this reason everything did not work properly. Now it works well on both mikroC for AVR and Microcip Studio.

Post Reply

Return to “mikroC PRO for AVR General”