CPUs and motherboards have to have the same socket for compatibility. If you buy an LGA 1151 CPU for an FM2+ motherboard, you can neither set nor connect it or check the compatibility.