cancel
Showing results for 
Search instead for 
Did you mean: 

over current handling

andreasknogl9
Associate II
Posted on April 08, 2008 at 06:44

over current handling

2 REPLIES 2
andreasknogl9
Associate II
Posted on May 17, 2011 at 10:15

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 help

gianluigi
Associate II
Posted on May 17, 2011 at 10:15

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