microzig
microzig copied to clipboard
USB CDC example not working
It seems that after the recent refactor, the USB CDC example stopped working. After a brief investigation, I noticed that the program freezes during the usb_init_clk
call.
To be more specyfic:
usb_init_clk
calls: resets.reset(.{ .pll_usb = true });
and inside that call program freezes during execution of following code:
RESETS.RESET.write_raw(raw_mask);
RESETS.RESET.write_raw(0);
This was tested in Debug mode.
CC: @haydenridd