I recently bought a new PC - System:
CPU: AMD Ryzen 7 1700x
Mainboard: ASRock Fatal1ty X370 Gaming X
RAM: 2x8Gb DDR4-2400Mhz Corsair Vengeance LPX
GPU: MSI GeForce GTX 1080 Ti
But I get freezes when using Windows and sometimes crashes when playing a game or running Software.
I flashed my mainboard right after I've installed all the parts. Furthermore I set xmp to my 2400Mhz because some strange reason it caped my RAM speed at 2133Mhz.
Maybe any ideas what I've missed?
It might be worth upping the SOC voltage to 1.1 (Not sure where to find it on your board)
Also l am assuming your RAM is at 1.2v and you have no overclock applied.
It could be that you CPU needs a little more Vcore.
Try the SOC voltage first, also check your cooler is seated properly and providing enough cooling.