Yes, but the indices are offset. From `verilog/rtl...
# caravel
m
Yes, but the indices are offset. From
verilog/rtl/user_project_wrapper.v
Copy code
// Analog (direct connection to GPIO pad---use with caution)
    // Note that analog I/O is not available on the 7 lowest-numbered
    // GPIO pads, and so the analog_io indexing is offset from the
    // GPIO indexing by 7 (also upper 2 GPIOs do not have analog_io).
    inout [`MPRJ_IO_PADS-10:0] analog_io,
So
analog_io[0]
,
io_out[7]
,
io_in[7]
all connect to the same gpio.
s
I see,then I have already used this pad.I thought they can be muxed by management area ๐Ÿ˜… ?or I need to make a mux in user area for it?
d
@Mitch Bailey @Tim Edwards What about Analog IO availability in openframe ? I see Analog_io[43:0] is defined in openframe wrapper ? Do we still need to use only [17:7] pads for Analog ?
m
@Dinesh A in openframe, you have full access to all 44 gpio. You can use them all for analog, but you need to configure them yourself. See
caravel/verilog/rtl/gpio_control_block.v
and
verilog/rtl/user_defines.v
d
Thanks @Mitch Bailey for the clarification๐Ÿ™
๐Ÿ‘ 1