Quality RTOS & Embedded Software

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


Loading

Receiving data in Usart mode byte by byte by using FreeRtos in Atmel AT32UC3A1256

Posted by santoshdas98 on December 14, 2017

Hello, I am new to FreeRtos. My problem is receiving data in usart mode byte by byte by using FreeRtos for Atmel AT32UC3A1256 microcontroller.actually I want to receive 8 bytes data and need to create buffer of 8 bytes and by comparing those received datas with my desired 8 bytes data, I am creating a desired output condition, but for that I dont know the receiving register for Usart in FreeRtos for Atmel AT32UC3A1256. Kindly let me know by some sample codes.


Receiving data in Usart mode byte by byte by using FreeRtos in Atmel AT32UC3A1256

Posted by rtel on December 14, 2017

FreeRTOS does not provide drivers for any MCU, but uses the driver provided by the MCU vendor. Check the docs for the libraries that come with your MCU for information on using the UART.


Receiving data in Usart mode byte by byte by using FreeRtos in Atmel AT32UC3A1256

Posted by santoshdas98 on December 15, 2017

Hi, Actually I had earlier used Rtos resources for send data , and it is:- xUsartGetChar( xComPort2Hndl, *cByte, DUMPCOM2NOBLOCK);and the port from which the data to be copied is xComPort2Hndl , and it is the Rtos and ASF (Atmel resource). But the same port register doesn't works for sending data. If you have any idea what could be the register for receiving data for the Atmel AT32UC3A1256 microcontroller, then kinldy let me know.. It would be very helpfull.


Receiving data in Usart mode byte by byte by using FreeRtos in Atmel AT32UC3A1256

Posted by rtel on December 15, 2017

I think that information will be found in the user manual for the device you are using. Its not a FreeRTOS question.


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


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

Latest News

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner