Sajjad Ahmed
02/28/2023, 8:51 AMTim Edwards
02/28/2023, 2:21 PMgpio_config/gpio_config_checker.py
.
Otherwise, what other signs of life can you get from your project that is simpler than using the UART? Do you have any status bits that you can read back from the logic analyzer?
When running your C code, can you see the four bits (GPIO 0, 1 and 32, 33) toggling in the infinite "while" loop?Sajjad Ahmed
02/28/2023, 2:24 PMTim Edwards
02/28/2023, 2:29 PMSajjad Ahmed
02/28/2023, 2:44 PMSajjad Ahmed
02/28/2023, 2:46 PMTim Edwards
02/28/2023, 2:51 PMSajjad Ahmed
02/28/2023, 2:53 PMTim Edwards
02/28/2023, 2:55 PMSajjad Ahmed
02/28/2023, 2:58 PMTim Edwards
02/28/2023, 3:11 PMTim Edwards
02/28/2023, 3:33 PMSajjad Ahmed
02/28/2023, 3:36 PMTim Edwards
02/28/2023, 3:44 PMSajjad Ahmed
02/28/2023, 3:46 PMTim Edwards
02/28/2023, 3:57 PMAyushman Tripathi
02/28/2023, 6:06 PMTim Edwards
02/28/2023, 8:43 PMgpio_config_data.py
(the bitstream), gpio_config_def.py
(the calibration), and gpio_config_io.py
(the setup). Probably the bitstream and calibration match, since the checker shows meaningful configuration data in all channels after loading, but the setup file is probably not the one that was used to create the bitstream.Tim Edwards
02/28/2023, 8:49 PMgpio_config_io.py
.Ayushman Tripathi
02/28/2023, 9:17 PMAyushman Tripathi
02/28/2023, 9:22 PMTim Edwards
02/28/2023, 10:22 PMgpio_config_io.py
file is changed, and then the checker is run without first generating a new bitstream based on the modified configuration.Ayushman Tripathi
02/28/2023, 10:31 PMTim Edwards
03/01/2023, 3:30 AMgpio_config_io.py
file has GPIO 37 set to C_MGMT_IN
, the output driver on the buffer is disabled, and the channel cannot toggle regardless of any other setting. If you want to see it toggle, you should use C_MGMT_OUT
on GPIO 37.Ayushman Tripathi
03/01/2023, 6:02 AMTim Edwards
03/01/2023, 2:02 PM011
, which can be used as a valid output mode but engages a resistor in the path of the output to ground, so you end up with an output with a weak pull-down on it. But by keeping the high bit zero, it won't accidentally set the next channel to management control.