Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Multi UART COMports on PIC32MX795F512L

Posted by tbuckner23 on February 4, 2014

Hello, With help from the PIC32MZ UART demo, I have been able to setup a working UART driver for the PIC32MX795F512L. Now I would like to expand the driver to include the ability to add two or more UART's. Is their example code available for FreeRTOS UARTs with multi COM ports? I would like to adhere to the FreeRTOS coding standard. I'm still learning the FreeRTOS coding techniques. I would like to make this available to others needing more than one COM port on the MX795F512L chip. Thanks, Tom...


Multi UART COMports on PIC32MX795F512L

Posted by davedoors on February 4, 2014

Did you look to see if the harmony drivers have what you need? www.microchip.com/harmony


Multi UART COMports on PIC32MX795F512L

Posted by tbuckner23 on February 4, 2014

No, I haven't loaded Harmony yet. I'll take a look. But what I want to do is adhere to FreeRTOS coding techniques.


Multi UART COMports on PIC32MX795F512L

Posted by tlafleur on February 4, 2014

I posted a copy of my multi-port driver for the PIC32MZ series of processors on the FreeRTOS Interactive page.... by changing the registers to the PIC32MX795xxx, it will also work with that part... It will NOT work on some of the smaller parts without the 8 deep fifo without some minor changes to the TX interrupt code.

I was going to add a section at the top defining the register for each processor type, but have not had time...

if you make any changes, please send me a copy


Multi UART COMports on PIC32MX795F512L

Posted by tlafleur on February 4, 2014

Here is my multi-port driver for the PIC32MZ series of processors... by changing the registers to the PIC32MX795, it will work fine there... It will NOT work on some of the smaller parts with out the 8 deep fifo with out some minor changes.

I was going to add a section at the top defining the register for each processor type, but have not had time...

if you make any changes, please send me a copy

On Tue, Feb 4, 2014 at 6:36 AM, Tom Buckner tbuckner23@users.sf.net wrote:

No, I haven't loaded Harmony yet. I'll take a look.

But what I want to do is adhere to FreeRTOS coding techniques.

Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/freertos/discussion/382005/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

~~ _/) ~~~~ _/) ~~~~ _/) ~~~~ _/) ~~

Tom Lafleur (858) 759-9692

Attachments

alternate (1928 bytes)

Multi UART COMports on PIC32MX795F512L

Posted by tbuckner23 on February 10, 2014

Thanks Tom. I'll try to complete the #defines. I have been tied up out of the US. Tom Buckner (281) 433-9971


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS