farrokhiyan
Junior Member level 3
- Joined
- Sep 17, 2007
- Messages
- 29
- Helped
- 3
- Reputation
- 6
- Reaction score
- 1
- Trophy points
- 1,283
- Activity points
- 1,473
Hi friends,
I'm working on data exchange between my stm32-F103 and atmel AT24C02 serial EEPROM on my starter board. I have did the programming based on I2C peripheral and DMA. the pull ups are 4.7 k. when I debug the program the result is fine and the data inside the EEPROM come out but when I exit from debug mode and run the micro normally the answer is disappointing. The program loops in checking the event I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED. the DMA TC flag doesn't set. I put some delays but it had no effect. I've read in a forum that the problem is the pull ups. Is 4.7k low? What is the difference between debug and run? What may cause this?
I'm working on data exchange between my stm32-F103 and atmel AT24C02 serial EEPROM on my starter board. I have did the programming based on I2C peripheral and DMA. the pull ups are 4.7 k. when I debug the program the result is fine and the data inside the EEPROM come out but when I exit from debug mode and run the micro normally the answer is disappointing. The program loops in checking the event I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED. the DMA TC flag doesn't set. I put some delays but it had no effect. I've read in a forum that the problem is the pull ups. Is 4.7k low? What is the difference between debug and run? What may cause this?