| ??? 10/08/03 15:23 Read: times |
#56330 - RE: using T0 and TI pins and internal timer Responding to: ???'s previous message |
Problems being faced:
1. If I use T0 and T1 pins on the processor (p3.4 and p3.5) I won't be able to use the internal timers for setting up delays. To solve :Use an independent counter IC like 74HCT4060 and read its count after 10 seconds and do the calculations after that. (Use internal timers in this case ) (ii) Have an external timer IC may be an RTC which can give me a pulse every 10 sec so that I read the internal counters at that moment (using pins as the object or pulse counters) Basically have separate arrangements for the timer and the pulse counter. ( one of them has to be outside the Processor Why not use a derivative with T2, most have it today. Some very cheap derivatives (e.g. LPC) have 2 timers and a PCA/CGA which will work as well. 2. How to save the data in the SRAM at power on and power off when the processor might go crazy and select my sram and put some junk data or corrupt the data. To solve the second problem: (i). Already the power to the SRAM is given from a 4.5V battery source. Arrangement of 3 AA size cells in series. Wish to separate the power of all the devices like the buffers and the address decoders so that nothing should be able to trigger the pin CS of the SRAM till the time processor is not stable. Planning to use a relay controlled by the processor. (ii). Use a processor-controlled shutdown of the power-supply i.e. the voltage regulator. with micro-controller supervisor IC. (iii) Use some kind of RC delay so that the processor control and the CS pin of SRAM are separated somehow for sometime till the time processor stabilizes ( at the time of power on ) and again trigger so that they are isolated when processor is shutting down. actually I am using 74ls138 for address decoding .. was also wondering if I can do anything with the select enables of it. It has got 3 pins as enables. 1) use a dual reset supervisor (see Maxim) that will shut down RAM (CE) before uC. 2) battery backup is easily achieved with 2 diodes, nothing more - forget the relay. Erik |
| Topic | Author | Date |
| using T0 and TI pins and internal timer | 01/01/70 00:00 | |
| RE: using T0 and TI pins and internal timer | 01/01/70 00:00 | |
| RE: using T0 and TI pins and internal timer | 01/01/70 00:00 | |
| RE: using T0 and TI pins and internal timer | 01/01/70 00:00 | |
| thanks a lot but problems still there | 01/01/70 00:00 | |
| RE: thanks a lot but problems still there | 01/01/70 00:00 | |
| RE: thanks a lot but problems still there | 01/01/70 00:00 | |
| some more inputs to the problem | 01/01/70 00:00 | |
| RE: some more inputs to the problem | 01/01/70 00:00 | |
RE: some more inputs to the problem | 01/01/70 00:00 |



