Hi, Aravind,
As far as I know that the MQTT data are transferred via Ethernet based on TCP/IP or WIFI, tbut the LPC824 does not have Ethernet module. Do you have WIFI or Ethernet controller?
We have AWS example based on SDK package for example LPC546xx, pls download the SDK and refer to the AWS example.
Welcome | MCUXpresso SDK Builder
BR
Xiangjun Rong
i am using wifi module