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.
I have 4.7 digital pull ups connected, but the thing is, the pins never get to change states in the first place, because I cant get the MCU to set i2c enable registers. SDA and SCL are always LOW.
ATmega16u4 has the same problem, but ATmega328p works fine, TWCR register can be changed and i2c...
Hi mates, I am trying to use i2c with ATmega32u4 in Proteus (version 8.5 SP1) and in my i2c library the following line hangs the MCU:
while(wait && (TWI_MTX == twi_state)){
continue;
}
It never gets past this.
Doing some debugging I verified that TWCR never changes in this model, so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.