Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HCD driver for Renesas RX #1265

Merged
merged 5 commits into from
Jan 19, 2022
Merged

Conversation

kkitayam
Copy link
Collaborator

Describe the PR
Add a HCD driver for Renesas RX

Additional context

I have checked cdc_msc_hid works on Renesas RX65N Target Board. It is tested with a low speed mouse and a Raspberry Pi Pico running as Mass Storage. If you check the example works on the board, short-circuit between JP1-3 and VBUS to supply 5V power.

Because Renesas RX65N Target Board has no an external power supply IC like as described user's manual shown below. So, we need to supply 5V power to VBUS from a something source.
image

hcd_port_reset() has a busy loop to assert USB reset signaling during 10-20ms. I think it is not a good way. I guess after hcd_port_reset_end() is implemented, refactor these implementation.

@hathach
Copy link
Owner

hathach commented Dec 28, 2021

amazing, thank you again for another PR. I will check it out as soon as I could.

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this excellent PR and sorry for the huge delay in response. I have been lagging behind due to overwhelming work. The PR look great

hcd_port_reset() has a busy loop to assert USB reset signaling during 10-20ms. I think it is not a good way. I guess after hcd_port_reset_end() is implemented, refactor these implementation.

indeed the port reset with blocking delay is not ideal. It is better with RTOS thanks to scheduler but totally not great with non-OS. We will find another way to implement this later on. Host stack is still lagging behind device one.

@hathach hathach merged commit e40547a into hathach:master Jan 19, 2022
@kkitayam kkitayam deleted the add_hcd_for_renesas_rx branch January 21, 2022 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants