Commit Graph

61 Commits

Author SHA1 Message Date
hathach
502b1bdda6 more update to transaction 2023-08-27 23:45:34 +07:00
hathach
cd7464a884 try next endpoint when received NAK 2023-08-25 17:37:09 +07:00
hathach
ac00b91472 add xact_out(), xact_in() to manage transfer 2023-08-25 17:26:57 +07:00
hathach
ecf2f91042 use endpoint pool for more flexible multiple devices support 2023-08-25 16:36:28 +07:00
hathach
09ceaa6cf3 add osal mutex for spi 2023-08-25 13:18:47 +07:00
hathach
f5ebc1700f add spi lock with interrupt enable/disable 2023-08-25 12:12:44 +07:00
hathach
e6cf125e53 save data toggle, always retry NAK. work with msc device 2023-08-24 16:46:20 +07:00
hathach
344932d27e add tuh_max3421e_int_api(), retry control if received NAK 2023-08-24 16:27:47 +07:00
hathach
3ed5d6c372 complete enumeration 2023-08-24 16:27:12 +07:00
hathach
2c237b1ae4 able to complete 1st get device descriptor and set address 2023-08-23 17:49:28 +07:00
hathach
e3f3179924 able to get 8 byte descriptor, but read(RCVBC) always return 0
- rename max3421e to max3421
- fix incorrect bitmask for HCTL, fix initial device connect
- fix bus reset cause connect IRQ
2023-08-23 15:08:12 +07:00