Hi Hau Lam,
Apologies for the delay, I see that the NXH5104 EEPROM is a SPI device so I would recommend you use the perich_ssp example that comes with the LPC11C24 LPCOpen package for more information on how to send information through SPI:
LPCOpen Software for LPC11XX|NXP
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer