First of all thanks for your exhausting reply. I'm still looking for best solution. My hardware is very similar to ST7MC starter kit. I've already try it with AC motor library but error has been occured at the start. #error clnk Debug\ac.lkf:50 Debug\interrupt_vector.o: symbol __vectab multiply defined (Debug\vector.o) If I press rebuild all. Do you know how to solve this problem? Maybe I should try drive motor like BLDC with trapezoid voltage but it seems more dificult to set all deathtimes, zero crossings and so.. I've try it with BLDC library too but same error occured how can I fix it? Thanks much [ This message was edited by: Edas09 on 23-04-2007 15:21 ]
I want control permanent magnet synchronous motor in case V/f = constant. I'm using st7fmc2s6 and cosmic C and ST7VD for inDart. I'm copletly new in this working enviroment. My board has no sensors, only want generate 3 sinewaves and change their frequency and amplitude. I'm looking for some program (source code) where I would see how to generate sinewaves. I can't find any exaple. For instance I don't know how I can change duty cycle of PWM during U event which is descibed in datasheet. I don't know how I can step into this inerrupt. Some exaple program would be much usefull for me. Thanks for reply
How can I define type of my MCu? Is it so simple that I only write #include ''st7fmc1k2.h'' into my main.c and add this file into the project? because it looks like I have to change mtc_hr.c file.. [ This message was edited by: Edas09 on 24-04-2007 10:56 ]
Thanks again for your interest I've tried to build downloaded workspace. It works fine. Now I'm trying to customize it to my purposse. Mainly change MCu and so.. Regards Edo
I think that I have found solution for the error: ''symbol __vectab multiply defined'' This is cause by more than one time adding the same file in the linking file *.lkf Insert only one .c into the block ''interrupt vectors file'' regards, lstefani