Download the example code for the Epaper MDE0565AC-MC, that uses the controller SPD1656. Link below.
MDE0583A648480YBW Code
Download the example code for the Epaper MDE0583A648480YBW , that uses the controller EK79686AB. Link below. MDE0583A648480YBW.6