Yatharth Agarwal
04/24/2023, 9:01 PM1ms
void main()
{
// Management GPIO Configuration
reg_gpio_mode1 = 1;
reg_gpio_mode0 = 0;
reg_gpio_ien = 1;
reg_gpio_oe = 1;
// User GPIO Configuration
set_registers();
gpio_config_io();
while (1)
{
reg_mprj_datal = 0x00000000; // GPIO0 - GPIO31 High
delay(10000); // Delay
reg_mprj_datal = 0xffffffff; // GPIO0 - GPIO31 Low
delay(10000); // Delay
}
}
and from observing the output on a logic analyser it seems to be really off. I have attached a screenshot of the same.
Seems like an interesting issue and would love to know the reason behind this. I appreciate any insights on the same.Thanks for all the insights and help.Tim Edwards
04/25/2023, 1:04 PMMarwan Abbas
04/25/2023, 1:39 PMYatharth Agarwal
05/04/2023, 12:45 PM