<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/portable/renesas/rusb2/hcd_rusb2.c, branch codex/class-reference-docs</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/portable/renesas/rusb2/hcd_rusb2.c?h=codex%2Fclass-reference-docs</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/portable/renesas/rusb2/hcd_rusb2.c?h=codex%2Fclass-reference-docs'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-07-13T08:30:44Z</updated>
<entry>
<title>rusb2: EP0 OUT reliability, HS UTMI PHY power-up, FS-only build support</title>
<updated>2026-07-13T08:30:44Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-07-13T08:30:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=24f8bce0bc4a07a69f242ff1e790da90719e984d'/>
<id>urn:sha1:24f8bce0bc4a07a69f242ff1e790da90719e984d</id>
<content type='text'>
- EP0 OUT: park a back-to-back data-stage packet the DCP accepted before
  PID could go NAK and deliver it into the next armed chunk; flow-control
  the single-buffer control pipe between chunks (usbtest ctrl_out
  corruption); discard a packet parked while an OUT pipe was halted so
  BOT reset recovery's fresh CBW read can't receive stale WRITE data
- HS UTMI PHY power-up per the FSP sequence, shared by dcd/hcd: CLKSEL
  programmed from the board XTAL (EK-RA8M1 runs 20 MHz; the 24 MHz reset
  default never locks) while DIRPD holds the PHY down, then timed release
- hw/bsp(ra8m1_ek): fix U60CK divider macro - BSP_CFG_U60CK_DIV used the
  generic USB_CLOCK_DIV_8 encoding (7), which USB60CKDIVCR rejects,
  leaving the USBHS link domain at 480 MHz; the USB60-specific
  BSP_CLOCKS_USB60_CLOCK_DIV_8 (4) sticks and yields the required 60 MHz
  from PLL1P
- support FS-only builds on the high-speed port: gate SYSCFG.HSE on
  TUD_OPT_HIGH_SPEED (RHPORT_DEVICE_SPEED=OPT_MODE_FULL_SPEED was a
  silent no-op) and always compile both hwfifo access widths - the FIFO
  width belongs to the module, not the link speed (FS builds corrupted
  odd-length tails: 16-bit access against MBW-32)
- iso activate: reset stale pipe bookkeeping so a BRDY firing before the
  class re-arms can't replay a pre-SET_INTERFACE transfer; write PIPEBUF
  after PIPESEL selects the pipe (PIPESEL-windowed register)
- clear-halt: re-assert BUF on a still-armed OUT pipe (usbtest case 29)
- bound the D0FIFO ready spin so an undrained double-buffered IN pipe
  can't freeze the stack with the IRQ masked
- usbtest example: cap interrupt mps at 64 on RUSB2 high speed (pipes
  6-9 have a fixed 64-byte buffer, RA6M5 UM 29.1)

Verified: usbtest 30/30 on ra6m5_ek (HS), ra4m1_ek (FS) and ra8m1_ek
(FS-forced build on the HS port).

Co-Authored-By: Claude Fable 5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01HeF2gZ1M7GWkz6Av4BpKPg
</content>
</entry>
<entry>
<title>license: use SPDX identifiers for src/ headers (#3749)</title>
<updated>2026-07-02T14:55:45Z</updated>
<author>
<name>Ha Thach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-07-02T14:55:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=7a4111b96ef6279e75579f9a18443834f6a0871d'/>
<id>urn:sha1:7a4111b96ef6279e75579f9a18443834f6a0871d</id>
<content type='text'>
* license: use SPDX identifiers for src/ headers

Replace the full ~20-line MIT license boilerplate on every src/ file with a
two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following
the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500
lines of duplicated boilerplate.</content>
</entry>
<entry>
<title>update hcd rusb2 to use tu_hwfifo read/write</title>
<updated>2026-01-04T10:02:16Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-01-03T18:01:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a9479f5ad96c28747661d9392ac28698f84c7bac'/>
<id>urn:sha1:a9479f5ad96c28747661d9392ac28698f84c7bac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix rusb2 hcd_port_connect_status() using line state, add post root reset delay for stable speed detection</title>
<updated>2026-01-03T16:54:05Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-01-03T16:54:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=b93d463afa11a7a24bc43dc7969a287c1d056b27'/>
<id>urn:sha1:b93d463afa11a7a24bc43dc7969a287c1d056b27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename and expose tuh_bus_info_get() to application</title>
<updated>2025-04-23T09:03:40Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-04-23T09:03:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a2da575793a14fdfc5137a02843af0fd8f8b772a'/>
<id>urn:sha1:a2da575793a14fdfc5137a02843af0fd8f8b772a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to hcd_bus_info_get</title>
<updated>2025-04-23T05:35:32Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-04-23T05:35:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=741cb3cf029e37682634eeb355c20420c0816c8d'/>
<id>urn:sha1:741cb3cf029e37682634eeb355c20420c0816c8d</id>
<content type='text'>
streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
</content>
</entry>
<entry>
<title>added hcd_edpt_close() stub for other ports</title>
<updated>2025-03-26T15:11:44Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-03-26T15:11:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=e511d00f34b2832ae32ad0b2418a0878c7c4e7d6'/>
<id>urn:sha1:e511d00f34b2832ae32ad0b2418a0878c7c4e7d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent</title>
<updated>2024-10-14T11:27:52Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-10-14T11:27:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=1f18be93db39dbc57bbf34f982dbe07e209a2ae3'/>
<id>urn:sha1:1f18be93db39dbc57bbf34f982dbe07e209a2ae3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hcd_init() take init struct</title>
<updated>2024-10-11T10:53:39Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-10-11T10:53:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=1587d48e89cbaa8d0d1c870809bc40c3c8d1056f'/>
<id>urn:sha1:1587d48e89cbaa8d0d1c870809bc40c3c8d1056f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>revert to use __builtin_ctz() for optimized time</title>
<updated>2024-04-15T16:56:55Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-04-15T16:56:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=6328301bb652458ad752b05129e1944404adc7ca'/>
<id>urn:sha1:6328301bb652458ad752b05129e1944404adc7ca</id>
<content type='text'>
</content>
</entry>
</feed>
