Multi Processor and/or Multi Master

Started by dmarte in AVRclub9 years ago 2 replies

I need some sample code on how to implement a multi master o multi processor communication either on synchronous serial communication or I2C...

I need some sample code on how to implement a multi master o multi processor communication either on synchronous serial communication or I2C bus. I have tried with I2C and I can read and write to eeprom devices successfully. I don't know or haven't been able to communicate 2 o more AVR controllers. The MCPM mode in the other hand is not clear enough in the datasheet. Besides I haven't found ...


Is there an example showing how to input strings ?

Started by Dan Roganti in AVRclub9 years ago 6 replies

I'm using WinAVR and trying to learn how to input strings. I'm using a ATmega32 controller with the serial port connected to my PC where I...

I'm using WinAVR and trying to learn how to input strings. I'm using a ATmega32 controller with the serial port connected to my PC where I have a terminal program that I use to communicate with the micro. I already have several tests written for this which I send data and text to the terminal. But I like to be able to enter a string for a command- much like a command shell- and parse t...


HEX file size limit for the AT89S52 8K microcontroler

Started by lode...@ymail.com, UNEXPECTED_DATA_AFTER_ADDRESS in AVRclub9 years ago 8 replies

The hex file for my project is no exactly 8880 bytes (9216 Bytes on Disk). I'm still able to load this hex file without any problems in the...

The hex file for my project is no exactly 8880 bytes (9216 Bytes on Disk). I'm still able to load this hex file without any problems in the above 8K Micro controller. I was under the impression the 8K of the AT89S52 was the storage space, but this does not seem to be the case . Can anybody share some light on this for me ? ------------------------------------


need some nice tutorial on Atmaga128 16bit timer/counter and use of ICP

Started by Mazhar Mazhar in AVRclub9 years ago 6 replies

hi i am a newbee in microcontroller world and need some good tutorials about t= imers/ counters and use of Input capture pin, i found few on...

hi i am a newbee in microcontroller world and need some good tutorials about t= imers/ counters and use of Input capture pin, i found few on sourceforge si= te but i need to have more practical approach and =A0information. can any b= ody provide me such guidlines, so that i could start working. right now i h= ave developed my own development board housing Atmega128, so it would be gr= eat th...


ATMEGA with 2 UARTS

Started by Cleber Dantas in AVRclub9 years ago 6 replies

Hello! Greetings from Brazil! Can you recommend an ATMEGA with 2 UARTS? The reason that we will use UART is simple, its more reliable than...

Hello! Greetings from Brazil! Can you recommend an ATMEGA with 2 UARTS? The reason that we will use UART is simple, its more reliable than software serial. I don't know if everybody agree with that. Thanks! Cleber ------------------------------------


Looking for recient HD44780 LCD C function set that works well with WINAVR

Started by keepwalking188 in AVRclub9 years ago 6 replies

I've just got back into playing with micros after an absence of 25 years. Wow have things changes - for the better. For the current project I...

I've just got back into playing with micros after an absence of 25 years. Wow have things changes - for the better. For the current project I want to hook up a 2x16 LCM with the Mega168P and thought hea, there are LCD everywhere - it should be easy to find a nice tight set of well documented LCD functions that I can use and are built to be versitale. I will not be assuming any such thing in t...


Robostix (ATMega 128) and LCD

Started by "lon...@sbcglobal.net" in AVRclub9 years ago 2 replies

Hello all, I have a Robostix and when I go to their Wiki page it has the all of the C code and headers except the 'lcd.h' header file. Does...

Hello all, I have a Robostix and when I go to their Wiki page it has the all of the C code and headers except the 'lcd.h' header file. Does anybody know where I can get this file or at least a working package. I'm trying to learn how interface sensors to this thing and I can't tell if I'm getting good data. I also have an Olimex ATMega128 board that I think works. I just need to p...


ATtiny 2313 floating output?

Started by bazzapromenade in AVRclub9 years ago 5 replies

I have come across something that I do not quite understand. I am running a simple code that uses 4 pins as inputs and the rest are outputs. I...

I have come across something that I do not quite understand. I am running a simple code that uses 4 pins as inputs and the rest are outputs. I write in assembler code. The program runs fine in simulation but i found a glitch when used in real life. In my code there was a couple of dozen places where there would be most of portB on as output high and maybe a single pin high on port A or D. To cut ...


double UART code

Started by iijfet in AVRclub9 years ago 2 replies

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has...

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has RX,TX pins).bauderate is 4800bps. avr chip:atmega64 software:codevision are you have a sample code for me? ------------------------------------


memory stack to atmel32

Started by rezadevelop in AVRclub9 years ago 3 replies

hi how can i connect avr (atmel 32)to memory stick pro duo (ex. 64mb sandisk)(sony ericsson mobile memory) whit spi form(serial)or other form...

hi how can i connect avr (atmel 32)to memory stick pro duo (ex. 64mb sandisk)(sony ericsson mobile memory) whit spi form(serial)or other form if can? see http://pinouts.ru/Memory/memorysrick_pinout.shtml ------------------------------------


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright