Author |
Message |
Topic: Cycle-By-Cycle current limit using dsPIC33EP16GS502 |
dave_s
Replies: 1
Views: 7069
|
Forum: General CCS C Discussion Posted: Tue Nov 01, 2016 7:52 am Subject: Cycle-By-Cycle current limit using dsPIC33EP16GS502 |
Hello,
I am using the dsPIC33EP16GS502 to control a push-pull boost transformer.
The PWM signals or working. I want to use the internal comparator and DAC to cycle-by-cycle limit the primary current ... |
Topic: dsPIC33FJ16GS502 cycle by cycle current limit |
dave_s
Replies: 1
Views: 5544
|
Forum: General CCS C Discussion Posted: Fri May 01, 2015 9:39 am Subject: dsPIC33FJ16GS502 cycle by cycle current limit |
I am trying to implement cycle by cycle current limiting on an interleaved boost circuit. This makes use of PWM channel 1 and channel 2.
I am using the internal comparators #2 and #3 to measure the i ... |
Topic: Center-Aligned or Push-Pull PWM with dsPIC33FJ16GS502 |
dave_s
Replies: 0
Views: 4561
|
Forum: General CCS C Discussion Posted: Wed Oct 08, 2014 11:30 am Subject: Center-Aligned or Push-Pull PWM with dsPIC33FJ16GS502 |
Hello,
Can anyone point me to an example on how to configure a dsPIC33FJ16GS502 for center aligned or push-pull PWM outputs?
Thanks,
dave_s |
Topic: Alternate PWM Pin assignment for PIC12F1822 |
dave_s
Replies: 4
Views: 9594
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2011 10:14 am Subject: Alternate PWM Pin assignment for PIC12F1822 |
Using the setting below does not output any PWM on either pin.
Does the timer need to be redirected?
setup_ccp1(CCP1_A5); //Put CCP1 output on A5 |
Topic: Alternate PWM Pin assignment for PIC12F1822 |
dave_s
Replies: 4
Views: 9594
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2011 8:21 am Subject: Alternate PWM Pin assignment for PIC12F1822 |
How do I assign PWM output to PIN_A5?
The code below still outputs PWM on PIN_A2 (default).
#byte APFCON = getenv("SFR:APFCON")
#bit CCP1SEL = APFCON.0
void main( ... |
Topic: PIC12F1822 pin assignment question |
dave_s
Replies: 4
Views: 9093
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 6:36 am Subject: PIC12F1822 pin assignment question |
Thank you RF_Developer that was it! |
Topic: PIC12F1822 pin assignment question |
dave_s
Replies: 4
Views: 9093
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 5:49 am Subject: PIC12F1822 pin assignment question |
The simple version still not working on A0 and A1.
Replaced chip with same results!
How can I read the APFCON register to see if it has been changed from default? |
Topic: PIC12F1822 pin assignment question |
dave_s
Replies: 4
Views: 9093
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2011 12:03 pm Subject: PIC12F1822 pin assignment question |
The Tx and Rx pins can be assigned to other pins (the default should be A0 and A1). I can get the serial port to work on A4 and A5 but not the default pins A0 and A1. What am I missing?
running PCM v ... |
|