Em Andamento

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

Ver mais: pic pwm generator, pic pwm, pwm generator pic, pwm generator, pwm pic, pic pwm code, pic pwm asm, i2c pwm generator, pwm asm, pic pwm project, pwm ramp pic, pwm pic asm, language pwm, asm pwm, pic asm example, language change pwm, pic based pwm generator, pwm asm code pic, language pic pwm, pic asm pwm, pwm pic16, pic pwm ramp, ramp generator pic

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

ID do Projeto: #181165

Premiar a:

trian

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

$300 USD em 7 dias
(3 Avaliações)
4.1

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

codespirit

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

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

Good quality. Lowest cost.

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

Please check your PMB, Thank you.

$350 USD in 10 dias
(0 Comentários)
0.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 Mais

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

Needs some clarifications

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