Other Parts Discussed in Thread: CONTROLSUITE
Hallo,
for the past two months I've been working on the HVMotor kit, the BLDC sensorless (6 step) project and it works great.
now I'd like to embed the algorithm in a larger project, intended to become a product.
so the main question is :
How do you recommend doing this ?
my main project is written under CCS 3.3, and I'd like to stay with this IDE for now.
Is it possible to use the header files that come with the "peripheral examples", and just add the header files for the motor-control algorithm ?
is there some change between the "basic" header files ?
Actually, I'm asking this because I've already tried...
seemingly, everything works well, but...
I've noticed that suddenly I need to issue a "PIEACK" in the SCI interrupts (both Rx and Tx).
on my original project (before embedding the sensorless algorithm), there was no need to issue the PIE ACK at the end of the interrupt... the bit was cleared by itself somehow...
this phenomena scared me a little bit, and I started thinkiing maybe there's something wrong with some configuration (header files, device init procedure etc..)
I would be happy if you could give some guidelines on how to embed the example projects, because in the near future I'd like to upgrade the algorithm to Vector Control (rather than 6 step), and wouldn't like to go over the long procedure of gathering all header files etc...
furthermore, I'd like to have all files under one directory (separated to sub-dirs, of course), so I can maintain different versions.
what I did now is to go over all the motor-control directories, the math directories etc to gather all header files.
but what happens if you release an update ? the controlsuite will update and I'll have to re-gather all files...
please advise !!
thanks alot,
keep up the good work,
Ari.