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

Search found 3 matches
CCS Forum Index
Author Message
  Topic: Happy Christmas everyone & Happy New Year
coldrestart

Replies: 7
Views: 7980

PostForum: General CCS C Discussion   Posted: Mon Jan 01, 2024 8:21 am   Subject: Happy Christmas everyone & Happy New Year
Happy New Year! Cool
  Topic: dspic30F4011 - MPY instruction fractional math for motor pwm
coldrestart

Replies: 4
Views: 17916

PostForum: General CCS C Discussion   Posted: Fri May 07, 2021 10:00 am   Subject: dspic30F4011 - MPY instruction fractional math for motor pwm
The lookup table with the scaling value pre-calculated is indeed the fastest way. I tested it and it works perfect.

Also the idea of shifting the bit's to divide is a good solution, but I will use ...
  Topic: dspic30F4011 - MPY instruction fractional math for motor pwm
coldrestart

Replies: 4
Views: 17916

PostForum: General CCS C Discussion   Posted: Thu May 06, 2021 11:33 am   Subject: dspic30F4011 - MPY instruction fractional math for motor pwm
Hello,

I programmed a dspic30F4011 based on the application note AN984.
To explain this more in detail, I have a sinus table, with 256 int16 values, from -32768 as the lowest point of the sinus an ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group