![]() |
| Powered by phpBay Pro |

Atmel Microcontroller?
Hello
I am working on project; I need a microcontroller that can generate 3 phase pwm signals that is 10 kHz -20 kHz frequencies.
I have the AVR Dragon Debugger device by atmel, I tried to use the ATMEGA16-16PU but it had only 2 pwm channels that can generate frequency of 16kHz, after that I tried to use the ATMEGA164-20UP, this one had 6 PWM channels but its frequency was 4kHz and I had to program it using SPI which I don’t like.
I need microcontroller that
1) Can be debugged using the AVR Dragon
2) Has at least 3 PWM channels that can generate PWM at frequency of 10 kHz 20 kHz without external clock
3) easy to program the fuses like the ATMEGA16-16PU
Thank you
I must be missing something here... THe uC's you have selected have internal clocks rated at 16 MHz. Most Atmel instructions execute on a single clock cycle (2 for branching) so you should be able to execute 400 to 800 instructions in the period of a single 20Khz cycle.
There are 2 8 biit counters and a single 16 bit counter. A total of three counters that can be used for 8 bit generation.
JTAG is serial programming using Clock, MISO, MOSI, Reset, Pwr & GND pins. see pg 311 data sheet.
You should work to establish JTAG communication with the chip first before you connect anything else to the pins. It is very easy for the attached circuit to load down the JTAG signal. This is easily avoided by either dedicating the chips JTAG pins and/or using 100 ohm series resistors to isolate (add Z) to the attached circuit while connecting JTAG signals directly to the pin.
If for somother reason you need dedicated hardware counters for PWM consider interfacing additional atTiny25 or attiny44 as a slave(s) to the larger Atmega. Send a I2C command from the master ATmega to adjust the slaves PWM output
Some more details, code and circuit diagrams etc. of what you are doing would be helpful. (Is this a student project?)
EDIT:
If you need to draw simple schematics and make simple PCB's check out http://www.diptrace.com/ for a free 250 pin limit version of schematic capture software.
and if you use the free PDF995 (http://www.pdf995.com/) you can print your schematics as PDF's so anyone can view them online
Just a suggestion..........
![]() |
![]() 10PCS MPU Microcontroller Atmel AT89S51 24PU 89S51 8951 US $34.99
|
![]() 10ATMEL ATMEGA48V 10PU AVR 8 bit Microcontroller chip US $34.99
|
![]() 10 pcs LOT Atmel AT90S2313 10PC 8 bit Microcontroller US $30.00
|
![]() 5X AT89C4051 24PU AT89C4051 Atmel Microcontroller J18 US $23.99
|
![]() 10PCS ATMEL ATTINY13A PU TINY13A PU Microcontroller US $23.93
|
![]() 10ATMEL Microcontroller AT89C52 24PI DIP40PIN IC J60 US $22.99
|
![]() 5X ATMEL ATMEGA8L 8PU DIP 28PIN Microcontroller MCU AVR NEW CK15 US $13.80
|
![]() 5PCS ATMEL ATTINY13A PU TINY13A PU Microcontroller US $13.28
|
![]() New 10x Atmel AT89C2051 Microcontroller 89C2051 MCU US $13.00
|
![]() 2ATMEL ATMEGA48V 10PU AVR 8 bit Microcontroller chip US $12.99
|
![]() 5pcs ATMEL ATMEGA8L 8PU DIP28 Microcontroller MCU AVR US $12.45
|
![]() Atmel AT90S8515 AVR Microcontroller IC 10 pieces US $16.00
|
![]() 4 pcs LOT Atmel AT90S2313 10PC 8 bit Microcontroller US $12.00
|
![]() 5pcs 89S52 24PU Atmel Microcontroller MCU US $11.99
|
![]() 5x ATMEL 89S52 Microcontroller AT89S52 Brand NEW US $11.99
|
![]() 5pcs ATMEL 89C52 Microcontroller AT89C52 NEW US $11.95
|
![]() 5pcs ATMEL 89S52 Microcontroller AT89S52 Brand NEW US $11.88
|
![]() 5pcs ATMEL 89C52 Microcontroller AT89C52 Brand NEW US $11.88
|
![]() 2pcs IC ATMEL AT89C52 Microcontroller IC DIP 40PIN US $9.99
|
![]() ATMEL ARM MICROCONTROLLER MCU PROCESSOR AT91RM9200 3 1 2 20 US $9.99
|
![]() NEW 5 x Atmel AT89C2051 Microcontroller 89C2051 MCU US $9.99
|
![]() New 5 x Atmel AT89S52 Microcontroller 89S52 MCU US $9.99
|
![]() 2X AT89C4051 24PU AT89C4051 Atmel Microcontroller J18 US $9.99
|
![]() NEW 5 x Atmel ATtiny2313 Microcontroller AVR MCU US $9.99
|
![]() Lot 5 Atmel 80C32 microcontroller 40 MHz TS80C32X2 DIP US $9.90
|
![]() Atmel 8 bit Microcontroller ATMEGA162V 8PU US $9.90
|
![]() Atmel ATMEGA32 16PU 8 bit Microcontroller IC US $9.43
|
![]() 1 x ATMEL ATMEGA32A PU 8 Bit 32K AVR Microcontroller US $9.20
|
![]() ATtiny861 20SU 8 BIT Atmel Flash Microcontroller 5 pieces US $10.00
|
![]() 2 PCS MPU Microcontroller Atmel AT89S51 24PU 89S51 8951 US $8.99
|
![]() 5pcs ATMEL 89S52 Microcontroller DIP AT89S52 Brand NEW US $8.59
|
![]() 2PCS MPU Microcontroller Atmel AT89S51 24PU DIP 40 89S51 40 pin US $8.54
|
| Powered by phpBay Pro |


US $1,200.00




















































































