Need vibration of piezo haptic actuator "z63000z2910z1z39"

Hi, I am using Piezo haptic actuator “z63000z2910z1z39” with driver "drv2667
". I have done the sensing part some waveform is coming when I press the piezo actuator you can see in the drive link (code+video+drv2667 datasheet) present in this Video drv2667 with z63000z2910z1z39 - Google Drive
I need the coding of example 8.3.2.1 example present in drv2667 datasheet.
. I have used the i2c command using python on raspberry pi. please check my code and edit my code as well. I will be very thankful to all of you. Waiting for your reply.