Christoph Weiser
06/26/2023, 9:11 AMreg_mprj_io_28 = GPIO_MODE_USER_STD_OUTPUT
But i cannot get any output on the pin. In general i can toggle the pin using the mgmt configuration, but i simply cannot get any output from the user area.
Any ideas?Mitch Bailey
06/26/2023, 9:21 AMio_oeb[28] set to low?Christoph Weiser
06/26/2023, 9:33 AMMitch Bailey
06/26/2023, 10:16 AMuser_project_wrapper. My understanding is that the gpio cell is set up to use the output of either the management core or the user project area. Your default settings are USER_STD_OUTPUT, which means if you don’t reprogram it, then it’s set up to output io_out[28] when io_oeb[28] is low and Hi-Z otherwise.
See this diagram.
Unfortunately, not connecting io_oeb[*] appears to be a relatively common misunderstanding. I’m in the process of adding a check to the precheck to flag these conditions.
There may be a workaround if your output is input to the logic analyzer. You could reprogram the gpio to use the management core output.