I glad to report the first breakthrough on my proj...
# mpw-3-silicon
c
I glad to report the first breakthrough on my projekt! 🎉 Applying an input voltage sweep at the ADC i can observe the corresponding digital output code through the logic analyzer. One thing that has however kept me puzzled for some time now and is still not resolved is why i don't observe the valid output flag on the user output pin after a conversion. I configured io 28 simply like this:
reg_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?
🎉 1
m
Is
io_oeb[28]
set to low?
c
Since I'm not aware of it probably not how do I check/set it?
m
It’s an output of the
user_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.