<@U016EM8L91B> <@U016HSAA3RQ> Hello, I have a MPW5...
# general
h
@Tim Edwards @jeffdi Hello, I have a MPW5 chip that has a digital input and some RF outputs. I would like to know if it's necessary to configure the GPIO without the nucleo, to be able to test the RF outputs on a minimalist PCB that we'll need to make.
t
How are your default values set for the GPIO (i.e.,
user_defines.v
file contents)? If it powers up into the correct default state, then no, you don't need the Nucleo board.
h
I think there isn't this file in the repo
t
I think MPW5 was transitional between the time that we introduced the user_defines.v file and the time that we required it as a mandatory part of the precheck. The default user_defines.v for MPW2 (and I think that remained through MPW5) set all GPIO defaults to a bidirectional digital configuration, so you would have to run the Nucleo board to get the pins configured into an analog state. Noting that your project is an analog project using the caravan harness, then that does not apply to any signals you connected to one of the 11 analog pads---Those you can access without requiring the processor or the Nucleo board. Only the other 27 GPIOs would require configuration if you had analog signals connected to them.
h
My project has only one digital input. If the digital pins are configured as a bidirectional by default, I can use without the Nucleo, right?
t
As long as you drove the OEB pin for that output high (output disable) from the user project, then it should work.
I rescind that comment. The digital pins are configured as bidirectional from the management side, not the user side. The management side does not actually control the output enable, which is fixed for most of the pins. I think that means that the output driver of the GPIO pin will be on and the output will be enabled. Which pin are you using for the digital input?
h
This
mprj_io[13]
@Tim Edwards moreover, where can I find the pinout of this?
t
The schematics should be in the https://github.com/efabless/caravel_board repository.
h
About the GPIO config, my digital input (which can be bidirectional) will work without the Nucleo?
@Tim Edwards I also would like to know if there is a way to test if the pin is set as bidir, out or in.
I need to use one digital input without the Nucleo board. If it's set as input or bidir, there's no problem. It is possible?
t
@Hugo Dias: If you had edited the
user_defines.v
file so that all of the GPIO pins power up into the configuration state that you need them to run in, then no, you do not need the Nucleo board.
h
This is just in synthesys level to defines the power up state, right? Fow now, if I want to change this I need to load the management core firmware to modify the gpio configuration, ok? So, if I do this I can test without caravel board/nucleo board?
So, if I am using just as a digital input on io_in[13] it is expected that works using a custom PCB without caravel breakboard and nucleo board, right?
t
If you have to run a program to configure the GPIO, then you need to run on the Nucleo board. There is some possibility that the calibration done by the Nucleo will be valid when the system is taken off the Nucleo, but I have not been very successful in getting that to work. How well it works depends a bit on the exact configuration. If the RF outputs are on the Caravan analog pads, then no configuration is needed. Otherwise, successfully configuring an input blindly or partially blindly will have a higher chance of success if the GPIOs being configured are at the lower end (near GPIO 0) or the upper end (near GPIO 37) and away from the middle (GPIO 18, 19), since the GPIOs are programmed along two serial chains on right and left, and the further along the serial chain, the higher the accumulated probability that a hold violation will change due to changes in ambient conditions.
👍 1
h
This bindly is done through the firmware?
t
If you run without Nucleo it's blind.