7 Commits

Author SHA1 Message Date
Jonas Thörnblad
68cecdfa92
Update USB polling period (bInterval) for CDC, HID and TKEYCTRL
endpoints.
2025-01-22 15:55:51 +01:00
Jonas Thörnblad
3b03e7b051
Fix CDC configuration problem on Windows when we have a composite
device (multiple different Device Classes). Add "Interface
Association Descriptor" to make it work.
2025-01-21 11:00:25 +01:00
Jonas Thörnblad
4239b74328
Add new USB debug pipe (TKEYCTRL). 2025-01-21 10:57:32 +01:00
Jonas Thörnblad
3ccdf8fc0f
Add incoming and outgoing CTS (Clear To Send) signals for the CH552
- Add CTS signals let the FPGA and CH552 signal each other that
    it is OK send UART data.
  - Update the CH552 rx and frame handling logic.
  - Fix minor spelling errors and indentation
2025-01-09 10:55:58 +01:00
Mikael Ågren
f1b19cb56e
Wrap accesses to UART output buffers 2025-01-09 10:55:19 +01:00
Jonas Thörnblad
25716a7c69
WIP: Add USB HID and framing support over UART
- Add USB HID support.
- Add framing to distinguish between CDC and HID data sent over the UART.
- Add some debug printing.
- Cleanup of code and formatting.
2025-01-09 10:55:08 +01:00
dehanj
354aecbed6
USB: move firmware for usb-to-serial MCU (CH552)
Change links to the new ch552_fw directory.
2024-06-25 15:47:22 +02:00