Author |
Message |
Topic: how to measure PWM signal with only CCP1 capture mode? |
mrYalamen
Replies: 2
Views: 7529
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2012 9:48 am Subject: how to measure PWM signal with only CCP1 capture mode? |
Thanks for your reply !
I am using PIC16F886 20MHz oscillator. In fact, i want to make my PIC become a H-bridge controller using ECCP (full bridge CCP1). So my PIC needs to measure duty cycle from Ma ... |
Topic: how to measure PWM signal with only CCP1 capture mode? |
mrYalamen
Replies: 2
Views: 7529
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2012 4:28 am Subject: how to measure PWM signal with only CCP1 capture mode? |
Hello everybody!
I have some trouble to get ideas how to mesure duty and cycle form a PWM signal with only CCP1 capture mode.
I read "CCP tips n tricks" and they make me follow this steps: ... |
Topic: 18F6722 Delay function work wrong ??? |
mrYalamen
Replies: 10
Views: 9851
|
Forum: General CCS C Discussion Posted: Wed Sep 28, 2011 9:56 am Subject: 18F6722 Delay function work wrong ??? |
Thanks alot about your detailed instructions! you are a big man
I have found some oscillator ic.
You right, I would to use HSPLL osc because it's cheaper than other model but still fast. thank! |
Topic: 18F6722 Delay function work wrong ??? |
mrYalamen
Replies: 10
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2011 6:38 pm Subject: 18F6722 Delay function work wrong ??? |
Thank you very much about your answer!
I understood. It is difficult to read datasheet. But anyway, i will try to read again. And more questions ?
Can you give me the name of some oscillat ... |
Topic: 18F6722 Delay function work wrong ??? |
mrYalamen
Replies: 10
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2011 11:36 am Subject: 18F6722 Delay function work wrong ??? |
Thanks for your fast response !
here is all of fuses of 6722 .
you know i have used PLL funtion (H4 -> x4 external oscillator)that must use 10Mhz hardware so it work exactly 1s . But i still want ... |
Topic: 18F6722 Delay function work wrong ??? |
mrYalamen
Replies: 10
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2011 10:42 am Subject: 18F6722 Delay function work wrong ??? |
yes! I used 40Mhz in Proteus simulation and real hardware but the same result : near close to 2s !??? |
Topic: 18F6722 Delay function work wrong ??? |
mrYalamen
Replies: 10
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2011 9:02 am Subject: 18F6722 Delay function work wrong ??? |
This is the first time I work with 18F6722!
I just program to export I/O normally and delay 1s but 18F6722 run close to 2s ???
Can somebody tell me the reason & how to solve this proble ... |
Topic: Need help about interface with MMC card 18F4620 |
mrYalamen
Replies: 2
Views: 5123
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 9:21 am Subject: Need help about interface with MMC card 18F4620 |
Thanks a lot for your helpful! Just because I'm too negligent. I only see the function that does not care about the return values and void main's details. I'll try it more! |
Topic: Need help about interface with MMC card 18F4620 |
mrYalamen
Replies: 2
Views: 5123
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 12:07 am Subject: Need help about interface with MMC card 18F4620 |
Hello all!
I'm a beginner of CCS. I had used "mmc_spi.c" from CCS library and used the function mmc_init() but it always respond "1"= failed! Can somebody give me the reason ... |
|