I'm trying to perform CV using the Ramp example, but id like to include some Start/Stop buttons and LED Indicators by using GPIO Ports. (And in the future perhaps a SPI or I2C Display),
Where can I find some examples or a guide to do this?
I've added drivers/gpio/adi_gpio.h library, but still can't perform what I want.
Thanks in advance,
Are you using the AD5940 evaluation board along with the ADICUP3029? If so there is an LED (DS1) that is connected to a GPIO on the AD5940. You can write to the SYNCEXTDEVICE register in the AD5940 to control it. It is also connected to a GPIO on the ADuCM3029 via the Arduino connector so you can use the GPIO port of the ADuCM3029 to control it. The processor manual for the ADuCm3029 can be found here which provides details on how to configure the GPIO ports and change state of the outputs. There is also some sample code available here