have you effectively verified that the ouputs are not enabled when you set MOE bit equal to 1, although the debugger shows a value frozen to 0? Please, verify it and let me know. Tanio
Setting MOE(motor outputs) bit in MCRA register i get always 0. this means outputs cannot be enabled. even manual setting using debuger st7 peripheral registers window gives no effect. it stays 0. what could be a problem? Tnx.
Just for verification, try to put MOE, CKE and DAC bits all equals to 1 and then force the outputs by using MPHST register. Do this test firstly in debug mode and then in normal running mode.