Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

18F4620 Hlaf Bridge HPWM

Status
Not open for further replies.

kalaman

New Member
18F4620 Half Bridge HPWM

Hello my friends,
I would like to drive two mosfets which are built Half Bridge. The code written with Proton is below. The real circuit on the board is tried but the result is negative. Only P1A is OK.

Thank you from now. Regards.

Device = 18F4620
XTAL = 20
ALL_DIGITAL true

CCP1CON = %00000000
Output PORTC.2
Output PORTD.5

CCP1CON = %10001100
PWM1CON =%10100010

test:

HPWM 1,156,100000
GoTo test

End
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top