TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141697 times)
  2. FAT32 Library (74777 times)
  3. Network Ethernet Library (59217 times)
  4. USB Device Library (49226 times)
  5. Network WiFi Library (44999 times)
  6. FT800 Library (44536 times)
  7. GSM click (31200 times)
  8. mikroSDK (30103 times)
  9. microSD click (27586 times)
  10. PID Library (27540 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Software UART using TMR0 Interrupt, and ring buffer

Rating:

0

Author: eduardo lopes

Last Updated: 2014-02-26

Package Version: 1.2.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 1270 times

Followed by: 1 user

License: MIT license  

This is a C coded sw UART, based on AN555. You can choose serial frame handling: bit number, Parity and Handshake . With TMR0 interruptions, and larger buffer, the TX/RX could run silently, freeing the main code. Here, an EasyBluetooth was handled by sw UART, connected to FT232 on a Ready for PIC board, in a back-to-back bridge.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Software UART using TMR0 Interrupt, and ring buffer" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Software UART using TMR0 Interrupt, and ring buffer" changes.

Do you want to report abuse regarding "Software UART using TMR0 Interrupt, and ring buffer".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other PIC Compilers
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!

RELATED CODES

TCP WITH PIC MICROCONTROLLER AND VIRTUINO ANS TCP/UDP CONTROLLER APPS

0

TCP WITH PIC MICROCONTROLLER AND VIRTUINO ANS TCP/UDP CONTROLLER APPS Video: https://www.youtube.com/watch?v=1VRh2rfImTo

[Learn More]

Controlling a PIC Microcontroller from a PC Graphical User Interface (GUI)

0

In this article we are going to design a Graphical User Interface using C#. The computer will connect to the microcontroller using an RS232 serial cable. The PIC microcontroller will receive commands from the computer to control devices connected to it such as motors, LEDs etc.

[Learn More]

UART Driver using Interrupts for MultiMedia PIC32MX7

0

The MikroElektronika libraries for the UARTs work well but they block the CPU from executing code until the function is finished. This can be a long time since the UART is generally a slow peripheral device. It's better to let the interrupt mechanism handle the sending or receiving of individual characters while allowing the CPU to do other tasks.

[Learn More]