Sharagim
Advanced Member level 4
- Joined
- Feb 6, 2011
- Messages
- 112
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 2,058
Hi,
I am trying to use ds1337 with Xmega, but I can't get proper result.
Sometimes the code stuck in loop(Below) at startup (even flashing or reboot).
When it pass the the Stratup sequence it is working ok. I want to know if this is normal on Startup or not?
I am trying to use ds1337 with Xmega, but I can't get proper result.
Sometimes the code stuck in loop(Below) at startup (even flashing or reboot).
When it pass the the Stratup sequence it is working ok. I want to know if this is normal on Startup or not?
Code:
while (twiMaster.status != TWIM_STATUS_READY) {}