This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

fastest microcontroller

among AVR 8051 PIC which is the fastest microcontroller
in I2C,SCI,RS232 and SPI which communication is fastest?

Parents Reply Children
  • Hi man friend

    Your first function may work yet even, if you are using the proper bit-time delay and this doesn't disturb with any IT routines. Maybe it's needed the disabling of all interrupts along it sends a char.
    However, the long delaying at the end is unnecessary, the overall speed (chars/sec) will too slow so.

    But ... the coder will NOT work without any start bit falling edge detection. Now it get ever garbage only.

    This detection is possible via polling or also via IT. And it's better using first a half bit-time delay after the detected start edge (and exit if the RX pin doesn't zero yet), and from here examine and get 9 times (after full bit-time delays) the pin value. The 9th bit is the stop bit ( do not store), but it must exist as a high level.

    I'm wanted attachhere a zip with old but useful PDFs about this thing but can nnot.

    Hope this helps
    zagn

  • i is better for advice but forget all them