Thank you all for the postings. I just got the Siglent SDG2042X, at 1Mhz the square wave is acceptable, at 5Mhz starting to degrade very bad, etc. I thought I got a defective device. I need to dig more into how these things works. How the square wave is generated, etc. Reading your post helped me understand that I did not get a defective generator.