had the same problem with my 2700x & x470-f. Uninstall AI Suite. That fixed the issue for me.
AI suite along with the other programs that monitor temperatures would compete to access the motherboard temp monitors & would cause it to crash. At least that's what was going on with mine. Hope it helps