CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Three Phase Induction Motor Control / AN843 in C

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
thushi



Joined: 22 Feb 2006
Posts: 14

View user's profile Send private message

Three Phase Induction Motor Control / AN843 in C
PostPosted: Wed Feb 22, 2006 6:18 am     Reply with quote

ok i

Last edited by thushi on Thu May 29, 2014 6:19 am; edited 1 time in total
Ttelmah
Guest







PostPosted: Wed Feb 22, 2006 6:25 am     Reply with quote

Just use the assembler source as supplied...
Generally, to move over to C, to make the main code easier to modify, you will need to retain the assembler handlers for the interrupts, since the code is very precisely coded regarding the interrupt latency. The rest would translate. The same would apply in any C.

Best Wishes
thushi



Joined: 22 Feb 2006
Posts: 14

View user's profile Send private message

PostPosted: Wed Feb 22, 2006 6:28 am     Reply with quote

Ttelmah wrote:
Just use the assembler source as supplied...
Generally, to move over to C, to make the main code easier to modify, you will need to retain the assembler handlers for the interrupts, since the code is very precisely coded regarding the interrupt latency. The rest would translate. The same would apply in any C.

Best Wishes


Do you have any experience with AN843?
Ttelmah
Guest







PostPosted: Wed Feb 22, 2006 10:26 am     Reply with quote

No, but I did a similar phase drive sometime ago, and ended up writing the interrupt handlers in assembler, for exactly the reasons outlined in this AN. The timings have to be exact, if it is to work, and the added latency of the handlers in CCS, would not be acceptable.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group