got In transfer working, able to get 1st device descriptor and set address

This commit is contained in:
hathach
2024-10-25 22:56:11 +07:00
parent 77fa2f6701
commit 79c0a249e8
5 changed files with 135 additions and 70 deletions

View File

@@ -242,9 +242,6 @@ bool dwc2_core_init(uint8_t rhport, bool is_highspeed, bool is_dma) {
dwc2->gintmsk |= GINTMSK_RXFLVLM;
}
// (non-periodic) TX FIFO empty level for interrupt is complete empty
dwc2->gahbcfg |= GAHBCFG_TX_FIFO_EPMTY_LVL;
return true;
}