summaryrefslogtreecommitdiff
path: root/src/portable/dialog
AgeCommit message (Collapse)Author
2021-08-26add dcd_edpt_close_all() for clear existing configured statehathach
correctly responded to TD 9.13 Set Configuration Test
2021-08-12da1469x: Fix no VBUS startupJerzy Kasenberg
For self powered device if device started without VBUS present it would not be correctly attached to USB bus even if tusb_vbus_changed() was later called. This modifies dcd_init() so it starts USB state machine without checking if VBUS is present or not, like all others drivers do. tusb_vbus_changed() function is also removed its content was moved to dcd_init.
2021-08-10dcd_da1469x: Use mcu.h instead of MCU specific headerJerzy Kasenberg
dcd_da1469x can work with broader range of MCUs that share same USB core. Specific header file that was used DA1469xAB.h now it is changed to mcu/mcu.h which includes actual MCU specific register file.
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2020-10-08DA146xx: Allow transmitting of packets larger then 64 bytesJerzy Kasenberg
FIFO is limited to 64 bytes yet MCU is capable of transmitting larger packets provided that FIFO will be filled on the fly and USB_USB_TXCx_REG_USB_LAST_Msk bit is set after FIFO is filled with all the data that should be transmitted. This change allows to use FIFO level warning interrupt to fill FIFO. When DMA is available it will be used instead of interrupts. Some function names were changed to better reflect what each function does.
2020-10-08DA146xx: Add support for ISO endpointsJerzy Kasenberg
Few changes were needed to have working ISO endpoints.
2020-10-08DA146xx: Add dcd_edpt_closeJerzy Kasenberg
Closing endpoints can be important when there are alternate instances. This adds functionality of closing endpoints similar to what exists in other drivers.
2020-10-08DA146xx: Allow receiving of packets larger then 64 bytesJerzy Kasenberg
Internal FIFO for each endpoint is limited to 64 bytes. It is possible to have longer packets if respective FIFO is read during actual packet transmission. This change updates receive data path to allow packets (and endpoint size) larger then 64 bytes. If DMA is not used yet DMA is setup for reception of big packets. If DMA is already assigned to some transfer, code enables FIFO level warning interrupts and tries to read data before FIFO is filled up.
2020-08-01enable pull-up in dcd_init() instead of usbdhathach
2020-06-09Add DCD for Dialog DA1469x MCUJerzy Kasenberg
Dialog Semiconductor's BLE MCU DA1469x comes with full speed USB. It's base on National Semiconductor discrete USB controller USBN9603/4. This adds support for: - control/interrupt/bulk endpoints (up to 64 bytes) - ISO endpoint were not tested and may not work correctly - reset/sleep/wakeup are handled - code for VBUS changes is provided