Hi J Nguyen,
the simplest way to properly set the internal peripherals in the 56F8023 DSC is to use the QuickStart v.2.63 tool. You can reach it on web:
https://www.nxp.com/webapp/Download?colCode=DSC56800EXQUICKSTARTSW&appType=license&location=null&Par...
Here is the window from this tool:

You can simply set all peripherals and the output is in "appconfig.h" file:
Example for I2C:
/*.
IIC Configuration
--------------------------------------------
.*/
#define IIC_ENBL_INIT 0x0001U
#define IIC_CTRL_INIT 0x0063U
#define IIC_SAR_INIT 0x0055U
#define IIC_RXFT_INIT 0x0000U
#define IIC_TXFT_INIT 0x0000U
#define IIC_SSHCNT_INIT 0x009BU
#define IIC_SSLCNT_INIT 0x009CU
#define IIC_FSHCNT_INIT 0x0023U
#define IIC_FSLCNT_INIT 0x0024U
#define IIC_IENBL_INIT 0x08FFU
Best Regards,
Stano.