I am running a program on my DE10-Nano which takes the 50MHz clock and Converts it to a 2MHz Square wave. I then output the 2MHz square wave over a GPIO pin and I am reading it with an oscilloscope. Everything seems to be working fine however, after about 30 seconds or so the lights change on the Board and the oscilloscope stops showing the 2MHz wave. At first I thought that it might be a problem with my code but I tried it on a DE0-Nano with a Cyclone IV and the code ran continuously with no issues. Is there a setting on the DE10-Nano that I need to change to stop this or is there something else going on? I have also noticed that other demo codes such as GRHD will stop after a similar amount of time.
Sorry for the late reply I have been away from the project.
The green LEDs would be only remain lit until the board stopped running my code.
I was able to solve the problem by changing the MSEL pins to the AS configuration. Was that the correct way to go about solving to problem or did I change some other settings in doing that?