HOW to change from left spindle to right spindle system

1. project_cfg.h

#define LEFT_SPINDLE_DRIVEN (1u)
#define RIGHT_SPINDLE_DRIVEN (2u)
#define LEFT_OR_RIGHT_DRIVEN RIGHT_SPINDLE_DRIVEN

   

2. this definition is not good for right spindle system.

E_SPO_SPINDLE_PRIMARY

E_SPO_SPINDLE_SECONDARY

1. MisuseDetection_cfg.c

#if(2u == NUMBER_OF_SPINDLES)
...

#endif

2. ObstacleDetection_cfg.c

2. Short to Gnd Dignosis

some investigation already done:

In Pmg_UpdateHCOMStableFlag() of PowerManager_cfg.c

from the comment

/* Hall Supply A and B shall behavior in the same way, not working independantly*/

this part only considered double spindle system.

the flag b_UHallStable is set here

猜你喜欢

转载自www.cnblogs.com/dannykong/p/10873455.html
今日推荐