banging

In computer engineering and electrical engineering, bit banging or bit bashing is a term of art for any method of data transmission that employs software as a substitute for dedicated hardware to generate transmitted signals or process received signals. Such software directly sets and samples the states of GPIOs (e.g., pins on a microcontroller) to transmit and receive, respectively, and is responsible for meeting all timing requirements and protocol sequencing of the signals. In contrast to bit banging, dedicated hardware (e.g., UART, SPI, I²C) satisfies these requirements and, if necessary, provides a data buffer to relax software timing requirements. Bit banging can be implemented at very low cost, and is commonly used in embedded systems.
Bit banging allows a device to implement different protocols with minimal or no hardware changes. In some cases, bit banging is made feasible by newer, faster processors because more recent hardware operates much more quickly than hardware did when standard communications protocols were created.

View More On Wikipedia.org
  1. Robbo1978

    Horrendous noise!!

    Hi. Long time since I posted but thought I’d ask you experts 😊 Drove my car earlier today and it was making a horrendous grinding, whirring, banging noise, the sort of noise you’d expect if an exhaust was hanging off but obviously it doesn’t have one! It went on for about 5 minutes, people...
Back
Top Bottom