Author |
Message |
Topic: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
adammenzies
Replies: 9
Views: 14409
|
Forum: General CCS C Discussion Posted: Wed Nov 07, 2012 4:44 pm Subject: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
So basically your entire complaint is that you don't have 50% duty cycle.
Possibly I'm not describing my issue very well. I can get 50% duty cycle no problem, and in fact it is the one exceptional ... |
Topic: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
adammenzies
Replies: 9
Views: 14409
|
Forum: General CCS C Discussion Posted: Wed Nov 07, 2012 3:04 pm Subject: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
Post the Figure number and the title of the Figure in the data sheet.
It's Figure 19-6 EXAMPLE PWM (ENHANCED MODE) OUTPUT RELATIONSHIPS (ACTIVE-HIGH STATE)
The second set of plots (Half-Bridge) sh ... |
Topic: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
adammenzies
Replies: 9
Views: 14409
|
Forum: General CCS C Discussion Posted: Wed Nov 07, 2012 1:59 pm Subject: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
Neither your text version or your picture show P1A=P1B. P1B is off when P1A is ON, less the deadband times.
I agree it's not P1A=P1B, but if you look at the original post I suggested P1A=!P1B. (i ... |
Topic: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
adammenzies
Replies: 9
Views: 14409
|
Forum: General CCS C Discussion Posted: Wed Nov 07, 2012 1:42 pm Subject: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
Hi Ttelmah,
set_pwm1_duty(75L);
I appreciate the syntax correction, but that still didn't resolve the issue. I'm still getting P1A=!P1B instead of what's described on page 198 of the datasheet. ... |
Topic: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
adammenzies
Replies: 9
Views: 14409
|
Forum: General CCS C Discussion Posted: Wed Nov 07, 2012 11:36 am Subject: CCP_PWM_HALF_BRIDGE mode on PIC16F1933 |
Hi All,
I am trying to setup a half bridge driver using a PIC16F1933.
According to the datasheet (page 198) I should see this (ignore dead-band for now):
P1A: ____|--|___
P1B: |--|_____| ... |
Topic: problems programming PIC18F4431 |
adammenzies
Replies: 7
Views: 10724
|
Forum: General CCS C Discussion Posted: Wed Sep 01, 2010 9:44 am Subject: problems programming PIC18F4431 |
Can you show us your schematic as the programmer is hooked to the 4431?
Voila!
http://i771.photobucket.com/albums/xx352/adammenzies/PIC.jpg |
Topic: problems programming PIC18F4431 |
adammenzies
Replies: 7
Views: 10724
|
Forum: General CCS C Discussion Posted: Tue Aug 31, 2010 5:59 pm Subject: problems programming PIC18F4431 |
The AC162049 Instruction Sheet says the USB-powered programmer
(ICD2 and presumably ICD-U40, etc.) must have an external power
supply. Do you have one attached ?
I do have external power applie ... |
Topic: problems programming PIC18F4431 |
adammenzies
Replies: 7
Views: 10724
|
Forum: General CCS C Discussion Posted: Tue Aug 31, 2010 5:36 pm Subject: problems programming PIC18F4431 |
Hi All,
I'm having an issue programming a PIC18F4431.
I believe I have the circuit setup correctly. Originally, I was using a Microchip AC162049 target board (slightly modified, with the LED rem ... |
|