Pages: [1]   Go Down
Author Topic: Problems with Atmega644P I2C together with timer1 and timer2  (Read 802 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using an Atmega644P with arduino bootloader. I have an application with I2C and also timers 1 and 2.
Timer2 is used to generate PWM and timer 1 generates an interrupt loop.
Using a simple application without the timers i can talk to an I2C slave device using the normal Wire library.
When the timers are active the system locks. Obviously something is clashing. Interupts ? timers ?.
Does anyone have any experience with this and how can it be overcome.
Which timers and which interupts does I2C use and can they be changed or my program timers changed.

thanks for your help


Global Moderator
Online Online
Brattain Member
Karma: 495
Posts: 19036
Lua rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you post your code please? Use the "#" button to put code tags around it.

Pages: [1]   Go Up
Jump to: