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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/23/10 18:50
Read: times


 
#179303 - Inverted signals
Responding to: ???'s previous message
If you want to control the initial state of the relays, you (!) must care about the state of the processor pins when the processor is in the reset state.

That means that you in some situations must specifically invert the controlling signals to make sure that the relays can't be drawn until the processor has started to process program code and your program is ready to make a decision if the relay should be drawn or not.

Caring about the idle state of GPIO pins when a processor boots is one if the first things on the priority list when designing the hardware around a processor.

If you gogle, you will find a huge number of forum threads with people who designed the hardware first, and then got surprised that there is a time interval after power-on that the GPIO pins are not controlled by any running software. Since people get into troubles before their program starts to run, they can't solve their problems with smarter program code. It's already too late.

Besides working with inverters on control signals, it's sometimes meaningful to catch the reset signal and have a slow-start filter that doesn't allow buffer chips to drive their outputs until a couple of ms after the reset signal has been released.

List of 8 messages in thread
TopicAuthorDate
Relays ON for some moment as MCu power up            01/01/70 00:00      
   Covered in many previous threads!            01/01/70 00:00      
   Inverted signals            01/01/70 00:00      
      you need to read ....            01/01/70 00:00      
   Problem solved but...            01/01/70 00:00      
      No, it is not            01/01/70 00:00      
      No, it is not!            01/01/70 00:00      
         Reset & Watchdog Document            01/01/70 00:00      

Back to Subject List