EmbeddedRelated.com
Memfault State of IoT Report

Microcontroller USB interface chip

Started by mach7 in comp.arch.embedded16 years ago 16 replies

I know very little about USB, so excuse the naive question. I'm looking for an IC that I can interface with a microcontroller (in my case, the...

I know very little about USB, so excuse the naive question. I'm looking for an IC that I can interface with a microcontroller (in my case, the ATMega32) that will let me communicate with a computer over USB. My project involves large data transfers (for logging purposes) and serial / UART is too slow. Any direction would be helpful. Thanks, -J


linear interpolation / Assembler / ATMega32

Started by Rolf Bredemeier in comp.arch.embedded20 years ago 17 replies

Hi all, i`m searching an ASM-example for 2d lin. interpolation. (No need for floating point) In the EEPROM is stored an table, like...

Hi all, i`m searching an ASM-example for 2d lin. interpolation. (No need for floating point) In the EEPROM is stored an table, like so .eseg LTable: .db 0, 75 .db 40, 37 .db 60, 48 .db 80, 180 .db 100, 170 (The first byte in every .db line is the index, the second the value.) Now i need the interpolated value for an index 55. The calculation for that is not so diff...


preventing SPI noise on ADC

Started by Glenn in comp.arch.embedded20 years ago 5 replies

How can I best prevent noise on the SPI lines communicating between my ADC (Burr-Brown 16-bit 8-ch ADS8344) and a 5V microcontroller (AVR...

How can I best prevent noise on the SPI lines communicating between my ADC (Burr-Brown 16-bit 8-ch ADS8344) and a 5V microcontroller (AVR ATmega32)? I've tried to keep the digital lines as far away from the analog lines as possible, and have a 2-layer design with seperate analog / digital ground planes. Should I buffer all the SPI lines? if so, which buffer chips would be suitable...


FAT16/32 system on a MMC card

Started by terry in comp.arch.embedded19 years ago 5 replies

Hi, Could anyone give me source code example to implement FAT16/32 file system on a MMC card? I used Atmega32. Thanks!

Hi, Could anyone give me source code example to implement FAT16/32 file system on a MMC card? I used Atmega32. Thanks!


Returning from Subroute

Started by terry in comp.arch.embedded19 years ago 6 replies

Hi, I used Atmega32(DIP) in my prototype board to test part of my source code, the execution is smooth. Then I ported the code to...

Hi, I used Atmega32(DIP) in my prototype board to test part of my source code, the execution is smooth. Then I ported the code to Atmega64, only little code modifications are required. However, I found the program counter quickly goes to an unknown address when the program runs in the beginning. I then trace the program using the debugger and find the program retrieve a wrong program co...


Possible problem on Olimex ATMega32 HEADER BOARD schematic

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

Hi Group, Shouldn't pin 4 on the jtag header (labeled AREF) go to Vcc? http://www.olimex.com/dev/images/avr-m16-sch.gif Matt Meerian

Hi Group, Shouldn't pin 4 on the jtag header (labeled AREF) go to Vcc? http://www.olimex.com/dev/images/avr-m16-sch.gif Matt Meerian


AVR interrupt response time

Started by Pygmi in comp.arch.embedded19 years ago 19 replies

I just started my first time critical project with AVR's. And time critical meaning interrupt response times. So far I have been using avr-gcc...

I just started my first time critical project with AVR's. And time critical meaning interrupt response times. So far I have been using avr-gcc (3.3.x) and I have been pretty happy with it. And I have written ALL code in C. I'm hoping to get some code executed within 2 us or so after external interrupt (INT0/INT1 with ATMega32). I wrote the code to be executed today and ended up to appr. 2...


Tiny ARM Development

Started by Alex McHale in comp.arch.embedded19 years ago 6 replies

We are looking at using the AT91SAM7S64 in a new project. We had previously tried the ATMEGA32, but it turned out to be underpowered for our...

We are looking at using the AT91SAM7S64 in a new project. We had previously tried the ATMEGA32, but it turned out to be underpowered for our needs. The program, however, was less than 100 lines of assembly code for the ATMEGA32. The AT91 does not seem quite as easy to get into as the AVR. I have the AT91SAM7S64-IAR development kit, and am having trouble figuring out where to go next. Most ...


Q: USB serial port give random data when.....

Started by Donald in comp.arch.embedded19 years ago 1 reply

I have a single ATMEGA32 connected to a LT1082. An external 5V supply runs that board. I am using a USB serial port adaptor to talk to my...

I have a single ATMEGA32 connected to a LT1082. An external 5V supply runs that board. I am using a USB serial port adaptor to talk to my PC. The USB serial port gives random data when connected. This happens with my laptop as well at my deskyop computers. Any suggestions of why this is doing this ??? I checked the ground line from the LT1082 to the computer chassis. I have tried ...


Flicker algorithm help

Started by John B in comp.arch.embedded18 years ago 10 replies

I am just starting a small design for amateur theatre group. They want me to build a camp-fire simulator. I already have a home-built control...

I am just starting a small design for amateur theatre group. They want me to build a camp-fire simulator. I already have a home-built control box and slave units for switching practicals. The control box contains a ATmega32 and each of the slaves contains an Atmega8 with an opto-isolated solid state relay. They use a multi-drop RS 485 comms network so that any number of slaves can be connect...


AVR-GCC ADC example source

Started by Andrew Tweddle in comp.arch.embedded18 years ago 7 replies

I have been looking on the web for AVR-GCC example sources on using the ADC converter in the ATmega32 or a related processor, to my...

I have been looking on the web for AVR-GCC example sources on using the ADC converter in the ATmega32 or a related processor, to my disappointment, I have only found the Atmel AVR465: Energy meter example, are there any other examples both simple and complex on setting up and using this peripheral? Andrew


How to define placement address of functions?

Started by in comp.arch.embedded18 years ago 4 replies

Hi all, I want to place a function in the bootload sector of my ATmega32, where I will do some writings to a flash table. How will I get...

Hi all, I want to place a function in the bootload sector of my ATmega32, where I will do some writings to a flash table. How will I get the compiler to place the function and just this one function at 0x7000 ? I have tried //Declaration void (*table_write) (float flash *table_ptr, float value2 )=0x7000; //Defenition void table_write(float flash *table_ptr, fl...


Watchdog timer promblem in ATmega32

Started by John B in comp.arch.embedded18 years ago 2 replies

I am trying to change the watchdog prescalar in an ATmega32 application. The data sheet implies that the watchdog timer registers can be written...

I am trying to change the watchdog prescalar in an ATmega32 application. The data sheet implies that the watchdog timer registers can be written at time with no special requirements. Is this the case? I am finding that the following code works in AVR Studio but not in the hardware. void WatchdogInit(void) { WDR(); WDTCSR = 8; // Set prescalar to ~1/4 second timeout. } Compiler i...


Problem with programming atmega32 using ISP

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

Hello Everyone! I have this problem programming atmega32. I am new to this platform. I have tried using AVRDUDE and PonyProg both are not able...

Hello Everyone! I have this problem programming atmega32. I am new to this platform. I have tried using AVRDUDE and PonyProg both are not able to program the device. I have followed the ISP interface (MISO/MISO thing) and followed the schematics available on internet carefully. PonyProg gives a -24 error saying it cannot recognize the attached device. While AVRDUDE simply freezes and doe...


efficient software n language to program ATMega32 microcontroller

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

Hi, Though I'm not new to programming microcontrollers, I have never worked on ATMega32 microcontrollers. Please, let me know which software...

Hi, Though I'm not new to programming microcontrollers, I have never worked on ATMega32 microcontrollers. Please, let me know which software n language would be the best to program ATMega32 microcontroller. Please let me know as soon as possible. Thanks. Archana.


Bluetooth connection to AVR

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

Hi everybody, I am a newbie to the microcontrollers world. So, I need every help that i could get. I want to use bluetooth communication with...

Hi everybody, I am a newbie to the microcontrollers world. So, I need every help that i could get. I want to use bluetooth communication with an ATmega32 mcu, but i don't know which bluetooth module is good and at the same time cheap. Could anybody recommend a module and tell me why does he recommend it? I mean what's its pros and cons? Thanks in advance.


Spontaneous erasure of AVR working as SPI slave

Started by wzab in comp.arch.embedded13 years ago

Hi, I'm using an ATmega32U2 uC as an SPI slave. Namely it receives the I2S data stream sent to the DA1134F DAC in the AUREL's audio link (...

Hi, I'm using an ATmega32U2 uC as an SPI slave. Namely it receives the I2S data stream sent to the DA1134F DAC in the AUREL's audio link ( http://aurelwireless.com/rf-wireless-modules/product-info.asp?id=303 , http://aurelwireless.com/rf-wireless-modules/product-info.asp?id=302 ) However once, when I pressed RESET button to enter the DFU bootloader and update the firmware, I've stated, t...


AVR & RFM70 based wireless guitar system - two RFM70 in parallel to increase the bandwidth?

Started by wzab in comp.arch.embedded13 years ago 5 replies

Hi, I've just finished my RFM70 based wireless guitar system (I hope to publish it soon, but code and documentation needs some polishing ...

Hi, I've just finished my RFM70 based wireless guitar system (I hope to publish it soon, but code and documentation needs some polishing - the system is designed to be very cheap - just CS5343/4 as ADC, ATmega88 and RFM70 in the transmitter, and RFM70 with ATmega32u4 in the receiver. The system is visible as USB MIDI/audio device so you can connect it thorough "alsa_in" to "jakcd...


RFL (Attn:Ulf): Atmega32u6

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

Ulf: This is a Request For Leaks for the little brother of At90usb646. We have been waiting for years for a smaller and cheaper 646. Can we...

Ulf: This is a Request For Leaks for the little brother of At90usb646. We have been waiting for years for a smaller and cheaper 646. Can we assume that the Atmega32u6 (QFN64) is fully compatible with At89usb646 except for the flash size. We need 30 I/Os, so can't use the u4 (QFN44). Can we expect 1K pricing in mid-$3 and delivery in 6 months? Thanks.


Atmega32u2 anywhere?

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

All main distributors are out of it. Digikey has a few hundreds last week, and out again this week. Just got a hundred and need a few hundred...

All main distributors are out of it. Digikey has a few hundreds last week, and out again this week. Just got a hundred and need a few hundred more. Does anyone have spare AU or MU? Any secondary sources? Might have to redesign with another chip. Atmega32u2 is too hard to get.



Memfault State of IoT Report