I am using a Zedboard to output a PWM signal through a Pmod port. I am using the example C code in vitis to create the PWM. There are functions to set the period and duty cycle, but no function to set the Vmax or Vmin. The current output Vmax is 1.16V and the current Vmin is -2.32V. I need the Vmax to be 5V and the Vmin to be 1.3V.
Is this something I need to write my own function for? If so, any ideas on where I should start? I read online that this could be controlled by manipulating clock frequencies, but I don't believe this is true.
Could changing the I/O standard of the pin change the output? Any advice would be greatly appreciated. Thanks