How many pole pairs?/ Checking timers

When i’m trying to change divider from 2 to 1 (12MHz crystal) or solder 24MHz and keep divider 2 program stops at :upside_down_face:

motor.initFOC(); 

INTRIGUING