
Hiii, I'm planning to make a signal generator (and adding custom waveforms function in the future to turn it into an AWG) and I'm currently still in the component selection stage, but I've decided on some basic specifications. The AWG should:
- Achieve 10MHZ @ 20Vpp for sine waves
- Achieve 1MHZ @ 20Vpp for square waves
My plan as of right now is that it would be using a STM32G4 MCU, AD9834 DDS and THS3091 as the amplifier and it would have a 4.3 inch LCD touch display (and some buttons). I'm new to PCB design so I have some questions regarding grounding: It would also be a four layer board: Analog (layer 1), Ground (Layer 2), Power Planes (3.3V and 5V, layer 3), Digital (layer 4).
I've been watching some videos on mixed signal PCB designs (specifically from Altium Academy) and they've recommended NOT splitting the analog and digital grounds. They've also specifically mentioned that splitting analog and digital grounds AND only keeping them connected via a mecca connection is pointless (and also causes issues with return current path) [Defining Ground | Mixed Signal PCB Design: Part Two]. However, in a different post that I've made, someone else specifically recommended the mecca connection instead. (link to comment) What's the correct/better way of grounding for my specific application?
Should I also still stick with my current layer layout? Or should I set layer 2 and 3 as ground?