2008-04-07 09:44 PM
2011-05-17 01:15 AM
hi there,
i have a problem with the over current mechanism of the ST7FMC2. The problem is, that its not possible to start the motor after an CL_Interrupt in the opposite direction. A restart in the same direction works. I reset all mtc_peripheral (toggle rst bit) and set the register with the standard values before the restart. The error is, that the wrong switches will be set. This causes a short circuit and the CL start again. If I reset the controller, the restart works. thx for help2011-05-17 01:15 AM
Hello Andreas,
there is some registers bits that is write once, that means that after the first write these bits become read only after the hardware reset of the micro. But I don't think that this can be the problem that you get because these bits is related to the output polarity and dead time values. Are you sure that the initial condition is correctly set for the restart? The register that contains the output switch selection is MPHST, please check that it is correctly inizialized. regards Gigi