You can find uart demo code in SDK package :
{SDK_package install folder}\boards\lpcxpresso824max\driver_examples\usart
under this folder there are 6 uart demo code. in each demo code folder there is readme.txt, please read them to see which one match your requirement.
Jun Zhang