FORUM TOPIC · READ ONLY
Exemple QEI without Index, DsPic33FJ256MC710
Exemple QEI without Index, DsPic33FJ256MC710
Forum : Request for new functions / Peripheral / Chip support
3 message(s) · archive en lecture seule
.
Inspired from the Malife topic, I did a QIE model on the DsPic33FJ256MC710 .
But the intializing function _QEIInt_ run more than one time, in spite of the C call function step time is "inf" :cry:
Exemple, If you remove the comment to set available the line :
__ // POSCNT = 0x8000; // Set Current Position to 8000 does't work, reset and speed effect ???__*
The counter is set any time at 0x8000
Could you help me Lunbin :?:
Inspired from the Malife topic, I did a QIE model on the DsPic33FJ256MC710 .
But the intializing function _QEIInt_ run more than one time, in spite of the C call function step time is "inf" :cry:
Exemple, If you remove the comment to set available the line :
__ // POSCNT = 0x8000; // Set Current Position to 8000 does't work, reset and speed effect ???__*
The counter is set any time at 0x8000
Could you help me Lunbin :?:
Re: Exemple QEI without Index, DsPic33FJ256MC710
Hi Ender.
This version should works.
Only 2 changes in the simulink configuration options :
Simulation ==> Configuration Parameters ==> Optimization ==>
- Check Inline parameters
- Then, check Inline Invariant signals
( This is the exact name with matlab 2008a)
Regards
Lubin
This version should works.
Only 2 changes in the simulink configuration options :
Simulation ==> Configuration Parameters ==> Optimization ==>
- Check Inline parameters
- Then, check Inline Invariant signals
( This is the exact name with matlab 2008a)
Regards
Lubin
Re: Exemple QEI without Index, DsPic33FJ256MC710
Yes, It works, Thanks a lot.