I am currently learning about communication between two AVR through TWI and came to this project.
the codes are compiled and there was no error, ah I'm using AVR Studio 4 and two identically ATMega32 circuit with 8 MHz crystal each. The fuse setting was with SPIEN and CLKOPT (checked), and the SUT_CLKSEL were set to ext. crystal high freq: startup time 16k CK + 64 ms. The pins 22 and 23 were pulled-up each with 5 kOhm.
After I downloaded the program, one for slave, and the other for master. But it didn't work, there were no changes in portb, it stayed low for both master and slave.
Could you please explained it to me what happend?
PS: I've tried to download a LEDs-looping program and I could see the changing states from the LEDs connected to portb. so I knew there was nothing wrong with the circuit I have.