PIC PWM generator Assembly language

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).

Habilidades: Programação C

Veja mais: 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

Acerca do Empregador:
( 1 comentário ) Fort White, United States

ID do Projeto: #181165

Concedido a:


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

$300 USD em 7 dias
(3 Comentários)

6 freelancers estão ofertando em média $317 para esse trabalho


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

$300 USD in 7 dias
(0 Comentários)

Good quality. Lowest cost.

$300 USD in 7 dias
(0 Comentários)

Please check your PMB, Thank you.

$350 USD in 10 dias
(0 Comentários)

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 Mais

$300 USD in 10 dias
(0 Comentários)

Needs some clarifications

$350 USD in 7 dias
(0 Comentários)