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

santoshdas98 wrote on Thursday, 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.

rtel wrote on Thursday, 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.

santoshdas98 wrote on Friday, December 15, 2017:

Hi,
Actually I had earlier used Rtos resources for send data , and it is:- xUsartGetChar( xComPort2Hndl, *cByte, DUMPCOM2_NO_BLOCK);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.

rtel wrote on Friday, 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.