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.
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.
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.
I think that information will be found in the user manual for the device
you are using. Its not a FreeRTOS question.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.