So, I have connected my arduino digital pins to A0..A7, D0..D7,
QuoteSo, I have connected my arduino digital pins to A0..A7, D0..D7, Which arduino pins are you using? All of them?
You need pull-ups or pull downs in the enable lines so they dont float when your arduino is reseted.
Use 3 10kOhm resistors its enougth to calm it down, and put one in each enable line, to connect them you put one end of the resistor in each enable line and the other end connects to 5v.
I have one of those chips at home, I could try it.Show me your code.
Big woops, I only have an duemilanove, so I dont have enough pins to test it :/
One thing that I notice is that you dont configure all your pins in the first lines of code, but rather set some enable lines and only then you set all the pins to the desired state.
The internal coin cell will maintain data in theM48Z128/Y/V after the initial application of VCC foran accumulated period of at least 10 years whenVCC is less than VSO. As system power returnsand VCC rises above VSO, the battery is disconnected,and the power supply is switched to externalVCC. Write protection continues for tER afterVCC reaches VPFD to allow for processor stabilization.After tER, normal RAM operation can resume.For more information on Battery Storage Life referto the Application Note AN1012.
ICC transients, including those produced by outputswitching, can produce voltage fluctuations, resultingin spikes on the VCC bus. These transientscan be reduced if capacitors are used to store energywhich stabilizes the VCC bus. The energystored in the bypass capacitors will be released aslow going spikes are generated or energy will beabsorbed when overshoots occur. A ceramic bypasscapacitor value of 0.1?F (see Figure 10.) isrecommended in order to provide the needed filtering.In addition to transients that are caused by normalSRAM operation, power cycling can generate negativevoltage spikes on VCC that drive it to valuesbelow VSS by as much as one volt. These negativespikes can cause data corruption in the SRAMwhile in battery backup mode. To protect fromthese voltage spikes, ST recommends connectinga schottky diode from VCC to VSS (cathode connectedto VCC, anode to VSS). (Schottky diode1N5817 is recommended for through hole andMBRS120T3 is recommended for surface-mount).
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16