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 44 matches
CCS Forum Index
Author Message
  Topic: sine pwm(spwm)
mahdi70

Replies: 3
Views: 11703

PostForum: General CCS C Discussion   Posted: Sat Apr 22, 2017 9:31 am   Subject: sine pwm(spwm)
Before i create this topic i searched in this forum and google but I didn't catch.
....how can i put lookup table data on pwm duty? Do I need to change hardware? For example add lpf filter?
  Topic: sine pwm(spwm)
mahdi70

Replies: 3
Views: 11703

PostForum: General CCS C Discussion   Posted: Sat Apr 22, 2017 7:35 am   Subject: sine pwm(spwm)
hi...i don't know anything about spwm...what is it? how can i generate spwm with pic16f series?
what is lookup table??
tnx
  Topic: 6 input capture configuration
mahdi70

Replies: 5
Views: 12583

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2017 12:17 pm   Subject: 6 input capture configuration
Generally on IC type modules, you don't read the timer. You read the capture register. The whole point of these modules is that they record the timer value when triggered, then interrupt. The compiler ...
  Topic: 6 input capture configuration
mahdi70

Replies: 5
Views: 12583

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2017 9:17 am   Subject: 6 input capture configuration
It'd help if you told us which PIC you're using !
I can't tell if that code is correct let alone do what you want.

Obvious place to start would be trying 1 PWM input, then 2,then more...


You ...
  Topic: 6 input capture configuration
mahdi70

Replies: 5
Views: 12583

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2017 4:22 am   Subject: 6 input capture configuration
hi buddies...i have 6 pwm channel with 1 khz freq and 6 input capture(icx)...i want to capture 6 channel wave with timer3 but Interferometry between output...how can i capture waves One by one with on ...
  Topic: dspic33fj comparator
mahdi70

Replies: 6
Views: 12829

PostForum: General CCS C Discussion   Posted: Thu Jan 05, 2017 2:41 am   Subject: dspic33fj comparator
Your chip does not have a comparator.
Probably explains why you are having trouble!.....

If you look, there is no section in the data sheet actually entitled 'comparator'. Unfortunately the word ' ...
  Topic: dspic33fj comparator
mahdi70

Replies: 6
Views: 12829

PostForum: General CCS C Discussion   Posted: Wed Jan 04, 2017 3:05 pm   Subject: dspic33fj comparator
hi buddies.....i want to use dspic33fj256gp506 comparator with external refrence voltage..how to do it..anybody can help me? example source?

tnx alot
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Tue Oct 25, 2016 2:55 pm   Subject: freeze dspic brushless drive
Good. Smile

One other thing often not realised, is just how high the instantaneous currents can be on things that are switching. Even the little PIC may only draw a few mA 'average', but at the actual ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Tue Oct 25, 2016 4:47 am   Subject: freeze dspic brushless drive


Then there is the physical layout of the tracks. I like to think of the electricity, like currents in the sea, or a river. Go and look at a river sometime, and notice how behind the legs of a brid ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Mon Oct 24, 2016 5:21 pm   Subject: freeze dspic brushless drive
tnx alot my friend ..temtronic..newguy..Ttelmah

Today I did an experiment. To be able to understand EMI and the effect it has on circuit, I use aluminum foil between 2 pcbs and see interesting res ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Mon Oct 24, 2016 9:54 am   Subject: freeze dspic brushless drive
Have you tried running just one of the other 3 processors as well? Does that make a difference in the other 3 (idle) processors and their behaviour?

It's entirely possible that the processor that' ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Mon Oct 24, 2016 8:25 am   Subject: freeze dspic brushless drive
tnx for reply my friends..I totally agree with your comments but Many things has me confusing..

1.from 4 pic in pcb always one micro work very well..why?..if EMI noise Involved 3 pic and Causes fre ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Mon Oct 24, 2016 4:21 am   Subject: freeze dspic brushless drive
Think about it.
You don't have four micros in 'the same condition'. The other three are _idle_. Their drives are off, with no load connections actually being enabled to the motors. Very different pot ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Mon Oct 24, 2016 2:18 am   Subject: freeze dspic brushless drive


One thing I'm very suspicious of. Are the four connectors on the centre of the edges of the board, for ICD/programming?. What pull-ups are you using on the MCLR lines?. Do you have a jumper for t ...
  Topic: freeze dspic brushless drive
mahdi70

Replies: 19
Views: 38975

PostForum: General CCS C Discussion   Posted: Mon Oct 24, 2016 1:49 am   Subject: freeze dspic brushless drive
How many layers on your PCB?

2 layer..The first layer for dsp chip and second layer for the mosfet

http://s8.picofile.com/file/8272025592/llll.png
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group