Hi everybody,
I'm working on developing a new bsp for my custom board, starting from the twrk60n512 one. I think there is a bug on _bsp_usb_io_init function in the init_gpio.c file. At line 606 there is the instruction:
SIM_CLKDIV2_REG(SIM_BASE_PTR) &= SIM_CLKDIV2_USBFRAC_MASK | SIM_CLKDIV2_USBDIV_MASK;
I think it would be:
SIM_CLKDIV2_REG(SIM_BASE_PTR) &= ~( SIM_CLKDIV2_USBFRAC_MASK | SIM_CLKDIV2_USBDIV_MASK );
Is it right or am I wrong?
Many thanks
已解决! 转到解答。