The main functions of the CDH include collecting and storing housekeeping data from all subsystems and science data from the payload. Additionally, it facilitates subsystem configuration and houses a Real-Time Counter (RTC) for precise time tagging of data.