The 3-phase permanent magnet BLDC motors come in two types, internal rotor and external rotor. Mostly the external rotor types are called Hub motors as they are used in electric bikes. Both types of motors use Hall sensors inside them for position sensing and commutation of currents.
I wonder if the controller of these two types of motors are same or not? Let us say I have a controller for BLDC internal rotor type motor. Will it be possible to use the same controller with a BLDC external rotor type motor? Let us say all other specs of both motors are matching.