BHARGAV SHANKHALPARA
- Nov 6, 2013
- 35
- Joined
- Nov 6, 2013
- Messages
- 35
Hello all...!!
I am making one application in which i am controlling two motors, there are too many measurements, current measurement of all 3 phase using CT and other things...!! I am using internal EEPROM of ATMEGA32A to store data.
My problem is..
When i restart my circuit many time, its internal EEPROM data corrupt. I enable Brownout reset after reading ATMEGA32A datasheet. I choose 4V for brown out reset. But than after my EEPROM data is corrupted.
I use external crystal of 16MHz with 22pf capacitor for better timing accuracy.
But when i choose internal oscillator at 8MHz from fuse bit setting , and then restart circuit many times but EEPROM data is safe.
No problem at all...!!
Please suggest what is problem with external crystal and internal EEPROM data...?
Thank you.
I am making one application in which i am controlling two motors, there are too many measurements, current measurement of all 3 phase using CT and other things...!! I am using internal EEPROM of ATMEGA32A to store data.
My problem is..
When i restart my circuit many time, its internal EEPROM data corrupt. I enable Brownout reset after reading ATMEGA32A datasheet. I choose 4V for brown out reset. But than after my EEPROM data is corrupted.
I use external crystal of 16MHz with 22pf capacitor for better timing accuracy.
But when i choose internal oscillator at 8MHz from fuse bit setting , and then restart circuit many times but EEPROM data is safe.
No problem at all...!!
Please suggest what is problem with external crystal and internal EEPROM data...?
Thank you.
Last edited by a moderator: