PIC PWM generator Assembly language

Closed

Description

I have legacy PIC assembly code for a 16C54 which creates three unique PWM outputs, switching between them based on input. Output are:

1. Stand-by mode. Fixed PWM.

2. Ramp-up mode. During first mirco seconds of applied Gate-input, increase pulse width from Stand-by pulse width to ON-mode pulse width. Duration of ramp-up is variable.

3. ON-mode. Fixed PWM.

The legacy code has input in parallel: 8 bits representing 0-100% pulse width. Even with tight code running with a 20mHz oscillator, it’s too slow for my new requirement (slow in the sense of switching between the 3 modes.... each clock-tick counts). I need:

a) Port the code to a new PIC: 40mHrz 18 pin DIP.

b) Implement programable frequency (the legacy code is pulse width only).

c) Change the input method to I2C slave mode. I can dedicate one input to act as a interrupt rather than checking the SPI status register continuously (consistent fast PWM output mode switching, without missing pulses, is the key).

Skills: C Programming

See more: pic pwm generator, pic pwm, pwm generator pic, pic pwm assembly, pwm generator, pwm pic, assembly pwm, pwm assembler, pwm assembly language, pic pwm code, pwm assembly, pic pwm asm, pic pwm assembly code, pic assembly pwm, i2c pwm generator, pwm asm, pic pwm project, pwm ramp pic, pwm assembly pic, pwm pic asm, language pwm, pwm assembly code, pwm code assembly pic, pwm generator assembly, asm pwm

Project ID: #181165

Awarded to:

trian

It's easy. More than ten eyars experience whith Microchip PIC MCU.

$300 USD in 7 days
(3 Reviews)
4.1

6 freelancers are bidding on average $317 for this job

antony123

Needs some clarifications

$350 USD in 7 days
(0 Reviews)
2.0
adipdutt

You have suggested using I2c comm for changing mode,this would slow things, I would suggest I2c mode for programming the default PWMS,RAMPUP ETC. and using interrupts to switch between the modes. Incidentally we are w More

$300 USD in 10 days
(0 Reviews)
0.0
embin

Please check your PMB, Thank you.

$350 USD in 10 days
(0 Reviews)
0.0
kutashenko

Good quality. Lowest cost.

$300 USD in 7 days
(0 Reviews)
0.0
codespirit

Hi, i can do this without a problem. Thanks.

$300 USD in 7 days
(0 Reviews)
0.0