summaryrefslogtreecommitdiff
path: root/src/portable/analog
AgeCommit message (Collapse)Author
2023-12-26allow rp2040 to use max3421e as host controllerhathach
- fix warnings build hcd max3421 with rp2040 - add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1 will enable this - add max3421 driver implementation for rp2040 family - update tusb_config for host to allow easy enable host selection for rp2040 (default/pio-usb/max3421)
2023-11-29Merge pull request #2346 from IngHK/LogLineEndsHa Thach
made log line end consistent \r\n
2023-11-24made log line end consistent \r\nIngHK
2023-11-20add tuh_max3421_reg_read(), tuh_max3421_reg_read() for application usagehathach
added max3241 for feather m4 and tested
2023-11-02skip tuh_max3421_spi_cs_api() in hcd_init()hathach
only call tuh_max3421_spi_cs_api() in SPI start/end transfer since Arduino port use this to call begin/endTransaction()
2023-10-27update s3 devkitm with max3421 pin following metro s3, check max3421 version ↵hathach
to make sure it is valid
2023-10-04change tuh_max3421_spi_xfer_api() signaturehathach
tested working with sam d21 and d51, not tested with nrf52, seem not working with esp32
2023-09-28fix build with new freertos host examplehathach
2023-09-27Merge branch 'master' into add-max3421-esp32hathach
2023-09-27change hcd_int_handler(rhport, in_isr) signature: add in_isrhathach
change tuh_int_handler() to take in_isr as optional parameter (default = true)
2023-09-27update max3421 to have hcd_int_handler_ext()hathach
2023-09-25adding host/cdc_msc_hid_freertos examplehathach
2023-09-18add default CFG_TUH_MAX3421 = 0, default spi speed for samd21/samd51 to 12Mhzhathach
2023-09-09minor renamehathach
2023-09-07- wrap up hcd max3421, work well with nrf52840hathach
- also add usbh_defer_func()
2023-08-31vastly improve attach/detach device, still have issue where thing is still ↵hathach
hanged occasionally.
2023-08-31improve connection & disconnection detection. But there is still issue when ↵hathach
CONDETIRQ occurs but we are disabled interrupt (for osal queue access).
2023-08-30use ep buf to keep setup packet, work well with hid devicehathach
2023-08-30call xfer_complete_isr() when result is not successful (stalled or failed)hathach
2023-08-29- hcd_setup_send() also check for busy flaghathach
- xact_inout() to support send setup
2023-08-29- correct tuh_max3421e_int_api() for nrf52hathach
- hcd_int_disable/enable is software only to reduce interrupt lag
2023-08-28- add xfer_complete_isr()hathach
- merge addr0 ep to pool - add control status to xact in/out - use atomic flag busy to ensure only 1 transfer is active at any time - execute pending transfer after one is complete (or clear busy flag) - change rtt mode to block if full
2023-08-27more update to transactionhathach
2023-08-25try next endpoint when received NAKhathach
2023-08-25add xact_out(), xact_in() to manage transferhathach
2023-08-25use endpoint pool for more flexible multiple devices supporthathach
2023-08-25add osal mutex for spihathach
2023-08-25add spi lock with interrupt enable/disablehathach
2023-08-24save data toggle, always retry NAK. work with msc devicehathach
2023-08-24add tuh_max3421e_int_api(), retry control if received NAKhathach
2023-08-24complete enumerationhathach
2023-08-23able to complete 1st get device descriptor and set addresshathach
2023-08-23able to get 8 byte descriptor, but read(RCVBC) always return 0hathach
- rename max3421e to max3421 - fix incorrect bitmask for HCTL, fix initial device connect - fix bus reset cause connect IRQ
2023-08-22able to send setup packethathach
2023-08-22able to detect new device and start enumeratinghathach
2023-08-18adding connection event handling, add nrf gpio interrupt for max2341e ↵hathach
interrupt pin
2023-08-18ground works for hcd max3421ehathach