communication between two ATmega32 via TWI/I2C interface

Guest #3544724
Rate this post
• ▲ useful
▼ not useful
Guys please help me!

My bachelor thesis is to implement the communication between two 
ATmega32 via TWI/I2C interface and print out a ECG Signal on a display 
connected to the Slave.

I am unfortunately pretty lost, and it's due Feb 28th Sad

So maybe could anyone have a look at my code and tell me what I did 
wrong?
Attached files:
Guest #3544918
Rate this post
• ▲ useful
▼ not useful
Va Ma wrote:
> well I am trying to release a interrup tat the slave which would
> effect
> a print out on the display (for test uses 5 4 3 2 1 ) but this isn't
> working.
>
> I thought freq is either 100 or 400kHz?

These are maximum frequencies for standard and fast mode. There is also 
a high speed mode. Clock can be zero, which will be useless of course. 
Please refer to philips I2C spec.
Guest #3544947
Rate this post
• ▲ useful
▼ not useful
Va Ma wrote:
> Guys please help me!
>
> My bachelor thesis [...] and it's due Feb 28th [...]

oh how i love to read that ...
hooray for the bachelor/master!

if implementing that communication was the only task in your thesis than 
i hope you'll never make it. sorry to be so rude but choosing a 
profession, studying it and failing at such a simple task ... you should 
reconsider your choice of profession.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.