H2C driver implementation for cardhu reference design