Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Two Wire Interface for Atmega 8535 ?

Status
Not open for further replies.

medra

Full Member level 3
Joined
Oct 15, 2006
Messages
150
Helped
37
Reputation
74
Reaction score
6
Trophy points
1,298
Location
Egypt
Activity points
2,023
avr twi assembly



hi every one
has any tried twi for atmega8535 ??
is there any working code??
i cant simulate my code( i am using avr studio) is there a mistake??
thanx in advance
 

wiztronix

Full Member level 2
Joined
Mar 22, 2006
Messages
125
Helped
8
Reputation
16
Reaction score
4
Trophy points
1,298
Location
INDIA
Activity points
2,025
Re: avr assembly

what does twi stand for??

regards,
wiztronix
 

medra

Full Member level 3
Joined
Oct 15, 2006
Messages
150
Helped
37
Reputation
74
Reaction score
6
Trophy points
1,298
Location
Egypt
Activity points
2,023
Re: avr assembly


twi = two wire interface , it resembles serial interface but the send and receive are the same line
 

TwinT

Junior Member level 3
Joined
Dec 5, 2004
Messages
30
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
228
Re: avr assembly

Atmel AVR Studio 4 doesn't simulate TWI. Look for HAPSIM, an extension, but I don't know if it's gonna do the job.

Good Luck
 

    medra

    Points: 2
    Helpful Answer Positive Rating

roozbeh_s

Newbie level 5
Joined
Jan 7, 2007
Messages
8
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,283
Activity points
1,318
Re: avr assembly

Hi
i downloaded your code and compiled it. there was no problem. in simulation you can see the twi register only.
 

    medra

    Points: 2
    Helpful Answer Positive Rating

TwinT

Junior Member level 3
Joined
Dec 5, 2004
Messages
30
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
228
Re: avr assembly

Try VMLAB. It simulates TWI. Great Soft ( and small btw)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top