MPC5606 stepper stall detect module SSD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5606 stepper stall detect module SSD

ソリューションへジャンプ
1,427件の閲覧回数
Quimney
Contributor III

Has AN3330 been updated for this new module or is there something similar for the MPC SSD module? I have implemented the SSD on 12xhz but this new register set is making me crazy. Any example would help.

0 件の賞賛
返信
1 解決策
1,091件の閲覧回数
Quimney
Contributor III

Thanks! I finally figured that out... It's simpler than the implimentation in the 12 series. It seems to be working now after a small struggle.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,091件の閲覧回数
Steve
NXP Employee
NXP Employee

Unfortunately, no update to AN3330 is currently available but the following may help:

The SSD module on the MPC5606S is actually an enhancement of the module on the S12(X) with the difference that the previously software-controlled process of blanking-then-integration is now automated with counters that control the length of blanking and integration inside the SSD module itself. In general the CPU will simply configure the SSD then start the step and leave it to complete automatically.

This being the case you should be able to reuse your previous configuration settings by adjusting them for the BIS to use.

To get a feel for what the BIS does compare flow chart Figure 16 in AN3330 with Figure 36-12 in the MPC5606S RM Rev 5. There's also a description at 36.4.2.2 that describes the BIS operation. The RM has a note on using the SSD in "legacy mode" which is the S12 mode of operation.

The registers to set will be:

CONTROL  = configure the module

BLNCNTLD = blanking count (how long does this phase last)

ITGCNTLD = integration count (how long does this phase last)

PRESCALE (for the counters)

IRQ for interrupt enables

CONTROL.B.TRIG to kick off the step

The status bits in IRQ will tell you when each phase in the step is complete and if an accumulator overflow occurred

 

For the SMC there is a dedicated app note AN4037

0 件の賞賛
返信
1,092件の閲覧回数
Quimney
Contributor III

Thanks! I finally figured that out... It's simpler than the implimentation in the 12 series. It seems to be working now after a small struggle.

0 件の賞賛
返信