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 9 matches
CCS Forum Index
Author Message
  Topic: Maximum Pwm Frequency - Half bridge mode - Pic 16f887
phamngockienbp

Replies: 4
Views: 11869

PostForum: General CCS C Discussion   Posted: Fri Aug 30, 2019 2:58 am   Subject: Maximum Pwm Frequency - Half bridge mode - Pic 16f887
Hi Ttelmah

Thank you very much for your help!
  Topic: Maximum Pwm Frequency - Half bridge mode - Pic 16f887
phamngockienbp

Replies: 4
Views: 11869

PostForum: General CCS C Discussion   Posted: Fri Aug 30, 2019 12:09 am   Subject: Maximum Pwm Frequency - Half bridge mode - Pic 16f887
Hi Ttelmah

Thank you very much for your kindly help!

Hope you have a nice day!
  Topic: Maximum Pwm Frequency - Half bridge mode - Pic 16f887
phamngockienbp

Replies: 4
Views: 11869

PostForum: General CCS C Discussion   Posted: Thu Aug 29, 2019 9:13 pm   Subject: Maximum Pwm Frequency - Half bridge mode - Pic 16f887
Hi every one

I would like to generate spwm with the frequency higher than 20 KHz at half bridge mode.

May I ask for the maximum pwm frequency on pic 16F887.

I had tested with pwm 19 Khz, pic ...
  Topic: Please kindly help about half bridge PWM - ECCP unit 16F887
phamngockienbp

Replies: 5
Views: 13770

PostForum: General CCS C Discussion   Posted: Sun Aug 25, 2019 2:04 am   Subject: Please kindly help about half bridge PWM - ECCP unit 16F887
Hi Temtronic, PCM programmer and Ttelmah

Thank you very much for your kindly help! I had changed my code same as what you suggested and then testing it with the real PCB. It worked really well as ...
  Topic: Please kindly help about half bridge PWM - ECCP unit 16F887
phamngockienbp

Replies: 5
Views: 13770

PostForum: General CCS C Discussion   Posted: Sun Aug 25, 2019 12:04 am   Subject: Please kindly help about half bridge PWM - ECCP unit 16F887
Hi

Thank you for your help.

What I mean is: I wonder if we can set spwm at pin P1B ( P1B will be at high level first ) and then pwm at Pin P1A will vary accordance with duty cycle from P1B.

...
  Topic: Please kindly help about half bridge PWM - ECCP unit 16F887
phamngockienbp

Replies: 5
Views: 13770

PostForum: General CCS C Discussion   Posted: Sat Aug 24, 2019 9:27 am   Subject: Please kindly help about half bridge PWM - ECCP unit 16F887
Hi everyone

I would like to use half bridge pwm from ECCP unit of pic 16F887.
My code is as below:

setup_timer_2(T2_DIV_BY_1,199,1);
setup_ccp1(CCP_PWM_HALF_BRIDGE | CCP_PWM_H_H ...
  Topic: Timer 1 as counter - PIC 16F887
phamngockienbp

Replies: 6
Views: 16396

PostForum: General CCS C Discussion   Posted: Thu Aug 15, 2019 8:50 am   Subject: Timer 1 as counter - PIC 16F887
Hi

Thank you very much for your kindly help.
I had tried with your code but there is nothing change.

I had used 1 more countable value " K " and change the previous code a little bit. ...
  Topic: Timer 1 as counter - PIC 16F887
phamngockienbp

Replies: 6
Views: 16396

PostForum: General CCS C Discussion   Posted: Thu Aug 15, 2019 12:42 am   Subject: TIMER 1 AS COUNTER - PIC 16F887
Hi

Thank you for your help.
I had adjusted my code to:
SETUP_TIMER_1(T1_EXTERNAL| T1_DIV_BY_1).
and then testing this code with the real pcb.
T1CKI pin had been connected with input square s ...
  Topic: Timer 1 as counter - PIC 16F887
phamngockienbp

Replies: 6
Views: 16396

PostForum: General CCS C Discussion   Posted: Wed Aug 14, 2019 9:43 am   Subject: Timer 1 as counter - PIC 16F887
Hi everyone.

I would like to use timer 1 as counter mode on pic 16F887.
My code is as below:

Void main()
{
SETUP_TIMER_1(T1_EXTERNAL| T1_DIV_BY_2);
SET_TIMER1(0) ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group