To avoid extra current drain from floating input pins, the reset initialization
routine in the application program should change the direction of unused
pins to outputs (programmed low) so the pins do not float. Outputs
programmed low is the preferred option for lowest power
" so shud i go for this ?
bigmac wrote:Hello,Do you actually wait until the transmission of the final character is completed before clearing the TE control bit? It is a good idea to monitor the TC status flag, and release TE only after the flag becomes set. Why is it necessary for your application to disable TE?
Writing 0 to TE does not immediately release the pin to be a general-purpose I/O pin. Any transmit activity that is in progress must first be completed. This includes data characters in progress, queued idle characters, and queued break characters.