Forums Search for: Atmega
ANN: New ARM Cortex-M3 in Arduino format
inWe have developed a board which has an ARM Cortex-M3 micro in the Arduino format. This is definitely not an official board, and by using a...
We have developed a board which has an ARM Cortex-M3 micro in the Arduino format. This is definitely not an official board, and by using a 72MHz 32-bit processor with 512KByte of Flash we guaranteed there would be a few changes from the 10MHz Atmel ATmega168 in the Arduino... But we tried to keep as close as possible to the Arduino spirit. At least the connectors are in the same places ...
Help for initializing a BW Graphic LCD module
inHi all! I've an AVR ATmega168 connected to a G1212x02 from CCT : http://www.cct.com.my/Products/Graphic%20Module/PG58-G1212X02.pdf It embeds...
Hi all! I've an AVR ATmega168 connected to a G1212x02 from CCT : http://www.cct.com.my/Products/Graphic%20Module/PG58-G1212X02.pdf It embeds a NT7506 controller from Novatek. This chip needs alot of params: step-up voltage, resistors and so on. The LCD module datasheet doesn't explain too much. Can somebody help?
Getting started with AVR and C
inI am quite used to playing with PICs and JAL v2. I use the PicKit3 for programming and debugging. Now I want to learn C and AVR. I thought it...
I am quite used to playing with PICs and JAL v2. I use the PicKit3 for programming and debugging. Now I want to learn C and AVR. I thought it may be a good idea to do both at the same time. I already have a device with an ATMEGA168 in it. I want to write my own firmware for this device. I have installed the Atmel Studio 6 and downloaded the data sheet for the '168. Now I need a progra...
ATmega169 rev number
inCan anyone help with Atmel ATmega169 rev numbers, I have two chips marked code 0339 and another 0352, is thisjust week 39 and week 52 of 2003?...
Can anyone help with Atmel ATmega169 rev numbers, I have two chips marked code 0339 and another 0352, is thisjust week 39 and week 52 of 2003? How can I tell what REV number are they? They both behave different so they are either REV B & REV C or REV C & REV D. Anyone help? Phil
AVR: Confused About an Array of Functon Pointers at Runtime
inI have some code that I am running on an atmega169. I am building a static array of function pointers like so: typedef uint8_t...
I have some code that I am running on an atmega169. I am building a static array of function pointers like so: typedef uint8_t (*routine)(void); extern routine testRoutine; extern routine testRoutine2; routine routines[] = { (routine)&testRoutine, (routine)&testRoutine2 }; This compiles and links fine and at runtime
ATmega169 Puzzle
inWell a few days ago I was having trouble setting up a simple spi interface. Whenever I would try to lower the chip select lines of my devices the...
Well a few days ago I was having trouble setting up a simple spi interface. Whenever I would try to lower the chip select lines of my devices the 169 would try it and then give up and reset itself. I finally figured out that the problem was the pin I was trying to use. I was using PINB0 and PINB4 as chip select lines. B4 was the one giving me trouble so I switched it to B5 and the problem wa...
High frequency PWM generation
inHi All , I am working with a 8 bit Atmega2560 uC, when operating at 16 Mhz clock the maximum frequency of PWM I can generate is ~31Khz at 8...
Hi All , I am working with a 8 bit Atmega2560 uC, when operating at 16 Mhz clock the maximum frequency of PWM I can generate is ~31Khz at 8 bit resolution. Are there any external PWM generator ICs which I can use to generate higher frequency PWM signals? Also If I want to sin modulate the PWM with sin wave of 4khz then is 31khz (PWM Wave) enough? Any guideline would be appreciated a l...
ATmega2561 development board
inIs there any off the shelf development board for ATmega2561?
Is there any off the shelf development board for ATmega2561?
AREF bypass capacitance on ATMega2560?
inFolks, What's the usual capacitance? Any stability issues there? I was planning on using a 1uF X7R ceramic cap on the AREF pin of an...
Folks, What's the usual capacitance? Any stability issues there? I was planning on using a 1uF X7R ceramic cap on the AREF pin of an ATMega2560, in order to be able to use its internal bandgap reference. I saw people using 0.1uF and 0.47uF. The datasheet is silent about stuff like that, as usual. -- Regards, Joerg http://www.analogconsultants.com/
ov7690 SCCB writing data to register
inhello: Hello: i am using ov7690 with at91sam usin MCK at 12.3MHz. but for testing purpose i am using I2C at 153KHz from atmega2560...
hello: Hello: i am using ov7690 with at91sam usin MCK at 12.3MHz. but for testing purpose i am using I2C at 153KHz from atmega2560 for SCCB. I can read any register from ov7690 but I can't write to any register. the response is correct i.e. status register of TWI of atmega2560 depicts correcr value, meaning it sends data. but when i read back the value from that register the ol...
atmega2560 - LTC2440 SPI communication...need help troubleshooting
inNew guy here trying to talk to an AD board via SPI. Was hoping someone might help me troubleshoot. I have an ATmega2560 attached to a STK600...
New guy here trying to talk to an AD board via SPI. Was hoping someone might help me troubleshoot. I have an ATmega2560 attached to a STK600 development board. I'm trying to get data off of a LTC2440cgn AD board. But all I get out is 0... The AD board is 24 bit resolution, but produces a 32 bit value with the data being in bits 5-28... so I figure first I need to read in 4 bytes from the AD...
Silicon bug in Atmega2560?
inHi Guru's, I have come across something weird. I have a bit of code on an Atmega2560 that does three things: is initialises two timers in CTC...
Hi Guru's, I have come across something weird. I have a bit of code on an Atmega2560 that does three things: is initialises two timers in CTC mode, it initialises the SPI port to talk to an SD card and it enables the SD card interface chip by setting PB5 high. This port pin is on the same port (B) as the SPI interface and the secondary function of this port pin is OC1A. The following cod...
porting FreeRtos to atmega2560
inHello All. I try to port FreRtos to atmega2560 WinAVR I modified this piece in port.c usAddress = ( unsigned portSHORT )...
Hello All. I try to port FreRtos to atmega2560 WinAVR I modified this piece in port.c usAddress = ( unsigned portSHORT ) pxCode; *pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff ); pxTopOfStack--; usAddress > > = 8; *pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff ); pxTopOfStack--; /* AND THE THIRD BYTE */ usAddress > > = 8
Timer ticks occurring much more faster
inHi All , I am implementing RTC code on an AVR Atmega2560 I have a 32Khz clock crystal to TSOSC1 which is used by timer2 in async mode. I...
Hi All , I am implementing RTC code on an AVR Atmega2560 I have a 32Khz clock crystal to TSOSC1 which is used by timer2 in async mode. I have configured the clock divide to 8 so the clock to the timer is 32768/8 = 4096. It is a 8bit so a interrupt should be generated every 16hz (4096/256). So on 16 ticks make one second. If I add up second to make 5 minutes and light an LED on this eve...
Free parts - we have a winner :)
inAnd the lucky winner is David Harmon. So you know what you missed out on here is what I've tossed so far: Piezos, grain of...
And the lucky winner is David Harmon. So you know what you missed out on here is what I've tossed so far: Piezos, grain of wheat bulbs, 22W amplifiers, bags of assorted semiconductors, etc :) There were a few ATmega16s and ATtiny15s and ATtiny26Ls, and I think I saw a tube with half a dozen smallish PICs in it go
Attn: Ulf, Atmega169P-16MU
inListen, Ulf: There are less than 500 in distribution channels: 300 in Digikey and 260 in All American. None in Arrow and Avnet. Digikey has...
Listen, Ulf: There are less than 500 in distribution channels: 300 in Digikey and 260 in All American. None in Arrow and Avnet. Digikey has more than 2000 last week (unless they lied), so our competitors got more than 1600 of them. Lead time are 8 weeks. We need 1000 ASAP, 2000 in November and 3000 in December, etc. If Atmel is not making them fast enough, we will have no choice but ...
JTAG muxed ADC channels on AVR?
inI'm using ATmega169P in an application and just came across a need for an additional two ADC channels (0-3 are in use). Unfortunately on...
I'm using ATmega169P in an application and just came across a need for an additional two ADC channels (0-3 are in use). Unfortunately on this part, ADC4-7 are muxed with JTAG pins. I've had no luck getting the micro to read those channels Is it necessary to disable the JTAG interface via fuse settings in order to use these upper ADCs? That's a real drag for me... means I have to dig out my...
Overclcok AtmegaL
inHi, I am going to overclock Atmega16L to 12MHz. I can do that when the JTAG header is attached. However, when it is detached, the program...
Hi, I am going to overclock Atmega16L to 12MHz. I can do that when the JTAG header is attached. However, when it is detached, the program seems to be not working. I have tried to shut down the power of the emulator and it still works when the JTAG header is attached. I do not understand why this strange case happens. Could anyone talk to me why this happens? As I need to use 3.3V, I need t...
AVR TWI : extending period of the SCL
inThe ATMega48 data sheet says that a TWI slave can extend the period of the SCL signal produced by the TWI master : > > "The Slave can extend...
The ATMega48 data sheet says that a TWI slave can extend the period of the SCL signal produced by the TWI master : > > "The Slave can extend the SCL low period by pulling the SCL line low." Does anyone know of the maximum time that the period can be extended by the TWI slave? microseconds? milliseconds? seconds? some limiting factor? Thanks. -TH
Booting ATMEGA2560
inHi all , I have just designed a board with a JTAG interface and ISP interface ( with some good advice from past discussions on this forum)and...
Hi all , I have just designed a board with a JTAG interface and ISP interface ( with some good advice from past discussions on this forum)and have also bought the JTAG programmer. Now before I send the board for layout , I am looking at the nitty gritty of bootloading a hello world programme ( flashing leds!) on it. Does the ATMEL parts come preprogrammed with a standard bootloader in the...