Multi UART COMports on PIC32MX795F512L

tbuckner23 wrote on Tuesday, February 04, 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…

davedoors wrote on Tuesday, February 04, 2014:

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

tbuckner23 wrote on Tuesday, February 04, 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.

tlafleur wrote on Tuesday, February 04, 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

tlafleur wrote on Tuesday, February 04, 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.

Multi UART COMports on PIC32MX795F512Lhttps://sourceforge.net/p/freertos/discussion/382005/thread/10a766a1/?limit=25#164f

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

tbuckner23 wrote on Monday, 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