EmbeddedRelated.com

ANN: New ARM Cortex-M3 in Arduino format

Started by Tim in comp.arch.embedded15 years ago 4 replies

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

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

Started by interrogativo in comp.arch.embedded15 years ago 2 replies

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

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

Started by Robert Roland in comp.arch.embedded11 years ago 152 replies

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

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

Started by Phil in comp.arch.embedded20 years ago 4 replies

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

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

Started by the el vez in comp.arch.embedded17 years ago 9 replies

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

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

Started by Joel in comp.arch.embedded16 years ago 3 replies

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

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

Started by ratemonotonic in comp.arch.embedded16 years ago 10 replies

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

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

Started by Anonymous in comp.arch.embedded18 years ago 2 replies

Is there any off the shelf development board for ATmega2561?

Is there any off the shelf development board for ATmega2561?


AREF bypass capacitance on ATMega2560?

Started by Joerg in comp.arch.embedded11 years ago 145 replies

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

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

Started by hassanmahmood in comp.arch.embedded6 years ago 7 replies

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

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

Started by icabod8 in comp.arch.embedded12 years ago 1 reply

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

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?

Started by Meindert Sprang in comp.arch.embedded15 years ago 7 replies

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

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

Started by Anonymous in comp.arch.embedded16 years ago 1 reply

Hello 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

Started by ratemonotonic in comp.arch.embedded16 years ago 2 replies

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

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

Started by larwe in comp.arch.embedded18 years ago 3 replies

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

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

Started by linnix in comp.arch.embedded17 years ago 2 replies

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

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?

Started by larwe in comp.arch.embedded14 years ago 15 replies

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

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

Started by eeh in comp.arch.embedded18 years ago 13 replies

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

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

Started by Anonymous in comp.arch.embedded17 years ago 3 replies

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

Started by ratemonotonic in comp.arch.embedded17 years ago 3 replies

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

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