TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47740 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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
Project

UART Driver using Interrupts for MultiMedia PIC32MX7

Rating:

0

Author: Val Gretchev

Last Updated: 2012-11-27

Package Version: 1.0.0.0

Category: Communication

Downloaded: 1144 times

Not followed.

License: MIT license  

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.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "UART Driver using Interrupts for MultiMedia PIC32MX7" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "UART Driver using Interrupts for MultiMedia PIC32MX7" changes.

Do you want to report abuse regarding "UART Driver using Interrupts for MultiMedia PIC32MX7".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

The accompanying program in C# can be used as a terminal to communicate with the MultiMedia board. The PIC32MX7 code will respond to messages sent to it from the terminal Manual Send box. Just insert a command (a, b, or c) and click on the Send button. Make sure you change the COM Select for the COM port you are using on your PC. You can click on the LED representing DTR and RTS to activate these signals on the interface. Clicking on them when they are active will turn them off.

ALSO FROM THIS AUTHOR

Using MINI-M4 for STM32 as a Servo Motor Controller

0

In this example I use general-purpose timer 3, channels 1 and channel 2 to drive a pair of servo-motors in a pan and tilt mechanism. The included test program provides a convenient way to send multiple seek commands to position the servos over their complete range of motion.

[Learn More]

Vehicle Detection by Means of Inductive Loop

1

This project implements a loop oscillator circuit and a buried loop coil to detect large metal objects (such as a car). External components are kept to a minimum and oscillator frequency detection is done in software. This project uses a mikromedia plus for STM32 board with shield but any other fast MPU board should work.

[Learn More]

Mikromedia Plus for STM32 with Shield and GPS Click L10 Board.

0

This example uses the GPS click L10 board in slot 2 of the shield and communicates with it through UART2. Commands and messages are available using UART6-to-USB circuit on the shield board. The USB-HID Bootloader is used for loading the code. However, you can use mikroProg programmer if you prefer.

[Learn More]