Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/11/07 14:57
Modified:
  02/11/07 16:55

Read: times


 
#132522 - Not so fast, Jan...
Responding to: ???'s previous message
Jan said:
Both the "bible" and the said datasheet SUGGEST that ALE may be used as a clock output.

The reason, why ALE should not be used as a standard clock signal, is that ALE can be unsanely noisy. In many datasheets you can read the following hint: "Capacitive loading on ports 0 and 2 may cause the VOH on ALE and !PSEN fall below the 0.9xVcc specification when the address bits are stabilizing." This means, that VOH can be superimposed by a negative glitch, which does not matter at all in combination with the 74373 transparent address latch, but very well with edge triggered flip-flops, which might be used when using ALE as an additional clock signal.

Also, using ALE as an additional clock signal mostly means to lead this line away from the micro, much farer away than when only feeding the 74373. This is an as bad idea as moving the clock lines away from the micro. When doing this without a multilayer board, heavy ground bounce and ground noise can be the consequence.

A third reason not to use ALE as a clock signal is the rather unpredictable performance of ALE, when having a micro providing extended internal RAM or internal EEPROM. These memories are mostly accessed by MOVX instructions and you can never know whether the actual mirco let one ALE skip or not. This is not only a problem with Atmel, but with some other manufaturers too.

Jan said:
The specs say, VCC should be within certain limits - and while it is within these limits it whouldn't matter what waveform it exactly is. If the specs would say anything on spectral purity of VCC, I'll shut up, but nothing like that is there.

Tolerance specifications of Vcc do only refer to the DC value, but not to noise! Noise on Vcc must be as little as physically doable. Means, the manufacturer assumes a well regulated 5V supply, the use of local decoupling caps (mostly 100nF), the latest printed circuit board technology, which is multilayer today (!) and, of course, the absence of any additional noise. Only the noise the micro is producing by itself is allowed.

Alien noise spikes of 500mVpp are not at all allowed!

Flash micros (not only Atmel's) are especially susceptible to noise on Vcc, because sophisticated internal routines are running at certain moments, which can easily be interfered by noise on Vcc or which can unintentionally be invoked by Vcc noise at a wrong moment. So, it's reported in literature that noise on Vcc can cause the internal falsh burn or flash erase routines to start at any moment, which will result in a destroyed code memory!

All these issues are not neccessarily mentioned in the datasheet, but you will find them when reading the many application notes Atmel and other manufacturers have published.

Jan said:
Kai, please, this chip IS proven to be a crap.

Jan, not so fast. Many of the actual bugs are a consequence of the original Intel's 8051 design. The vulnerability of this micro to improper reset, Vcc noise, capacitve loading on port lines and Vcc power-up rise time are direct consequences of the orignal design. There were hundreds of errata in the past which addressed these issues. Most of these errata were published by Intel itself, Philips, Temic, etc., at a time when Atmel didn't even exist.

Jan said:
Look at AVRs and PICs. They are competition to '51s - and, although I don't like to tell it, they ARE competent.

Really?? I found nearly as many errata for AVRs and PICs as for 8051 micros. Infact, I once intended to use a PIC but kept my fingers off, because the datasheet missed many many important details and the errata read like a horror story. And with an ATMEGA we had severe problems with the internal POR some months ago...

By the way, I wouldn't take this AT89S8253 either. Alone the oscillator is an impertinence. And I cannot understand, why people take an immature micro. Jan, I didn't say that the AT89S8253 is free of bugs. Only that the reported "bugs" by Daniel not neccessarily must be actual bugs. And what he wrote about the noisy switcher makes be believe, that most, if not all, of the reported "bugs" are the consequence of an improper design (circuit, layout, supply).


Kai

List of 83 messages in thread
TopicAuthorDate
Comments about AT89S8253            01/01/70 00:00      
   are you surprised, it's Atmel            01/01/70 00:00      
      are you surprised, it's Erik            01/01/70 00:00      
   Not neccessarily bugs...            01/01/70 00:00      
      AT89S8253 ALE pulses            01/01/70 00:00      
         Yes, a bit imprecise            01/01/70 00:00      
            And Vcc rise time...            01/01/70 00:00      
               What kind of "external reset"?            01/01/70 00:00      
      not that fast, Kai            01/01/70 00:00      
         Not so fast, Jan...            01/01/70 00:00      
            speaking from experience...            01/01/70 00:00      
               ...as engineer?            01/01/70 00:00      
               make that darn datasheet 5000 pages            01/01/70 00:00      
                  Exactly!            01/01/70 00:00      
                     I'm not sure what you mean, Kai            01/01/70 00:00      
                        That's what I meant            01/01/70 00:00      
                  Serial hung.            01/01/70 00:00      
            migration            01/01/70 00:00      
               Please quote carefully...            01/01/70 00:00      
         is it possible            01/01/70 00:00      
            I don't think so...            01/01/70 00:00      
   Any reset            01/01/70 00:00      
      I've wondered about this ...            01/01/70 00:00      
         Indeed!            01/01/70 00:00      
            Perhaps they're part of the problem ...            01/01/70 00:00      
               Do you think...            01/01/70 00:00      
                  That's not clear to me.            01/01/70 00:00      
               not here            01/01/70 00:00      
                  These are all COTS SMPS\'            01/01/70 00:00      
                     startup            01/01/70 00:00      
            Is it not instead a problem of letting reset go be            01/01/70 00:00      
               staring problem            01/01/70 00:00      
                  have you never stared at a problem :)            01/01/70 00:00      
                     Ah, so you meant....            01/01/70 00:00      
      What resets?            01/01/70 00:00      
         Any reset!            01/01/70 00:00      
            I got what you mean            01/01/70 00:00      
               Circuit proposed            01/01/70 00:00      
                  Interesting!            01/01/70 00:00      
         SMPS and LC filter            01/01/70 00:00      
            Switchers & low ESR            01/01/70 00:00      
               you missed the point            01/01/70 00:00      
                  What 100nF?            01/01/70 00:00      
            Rob is right            01/01/70 00:00      
               Ah            01/01/70 00:00      
                  Erik, you do use switchers frequently...            01/01/70 00:00      
                     nope, all I know is that they work and work and wo            01/01/70 00:00      
                        Thanks            01/01/70 00:00      
                           so ... Kai ... how would YOU build a power switch?            01/01/70 00:00      
                              there is no difference between "no power" and "in            01/01/70 00:00      
                                 There is a difference ... no power means no clock            01/01/70 00:00      
                                    ah, an investigatory measure            01/01/70 00:00      
                                       The Max1232 gets pretty confused ...            01/01/70 00:00      
                                          what decoupling do you have across the supervisor            01/01/70 00:00      
                                             This was a Philips ...            01/01/70 00:00      
                                                Too fast?            01/01/70 00:00      
                                                   The risetime isn\'t all that fast.            01/01/70 00:00      
                                          More details, please?            01/01/70 00:00      
                                             So far, it's just the reset that's been broken            01/01/70 00:00      
                                                Throw away the DS1232!!            01/01/70 00:00      
                                                   I\'ll have to send for a couple ...            01/01/70 00:00      
                                                      I've seen that one and it did not work            01/01/70 00:00      
                                                         Especially difficult to design            01/01/70 00:00      
                                                      Datasheets            01/01/70 00:00      
                                                      610msec reset active time of MAX1232 not enough?            01/01/70 00:00      
                                                         Let's get to the bottom of it ...            01/01/70 00:00      
                                                            Some ideas...            01/01/70 00:00      
                                                               each flash/eeprom HAS a charge pump...            01/01/70 00:00      
                                                                  Exactly, Jan!            01/01/70 00:00      
                                                               Yes, but ...            01/01/70 00:00      
                                                                  Why there are reset issues            01/01/70 00:00      
                                                                     so you're saying I should pull down ALE and nPSEN            01/01/70 00:00      
                                                                        Real Reset            01/01/70 00:00      
                                                                     be careful...            01/01/70 00:00      
                                                                     never heard of that one, can you elaborate            01/01/70 00:00      
                                                                        Elaborations on Reset            01/01/70 00:00      
                                                                           Mayabe that's worth some study ...            01/01/70 00:00      
                                                                              Which chip are you using?            01/01/70 00:00      
                                                                                 I can try several, but for now, Philips            01/01/70 00:00      
                                                   DS1232?            01/01/70 00:00      
                                                      it means Dallas Semiconductor            01/01/70 00:00      
                                                   re 1232            01/01/70 00:00      
   Sorry.            01/01/70 00:00      

Back to Subject List