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 max3421e host driver #2251

Merged
merged 35 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9257a0f
- update nrf52 bsp for cmake
hathach Aug 18, 2023
824e585
ground works for hcd max3421e
hathach Aug 18, 2023
cacc96b
adding connection event handling, add nrf gpio interrupt for max2341e…
hathach Aug 18, 2023
b413439
able to detect new device and start enumerating
hathach Aug 22, 2023
274578f
able to send setup packet
hathach Aug 22, 2023
e3f3179
able to get 8 byte descriptor, but read(RCVBC) always return 0
hathach Aug 23, 2023
2c237b1
able to complete 1st get device descriptor and set address
hathach Aug 23, 2023
3ed5d6c
complete enumeration
hathach Aug 24, 2023
344932d
add tuh_max3421e_int_api(), retry control if received NAK
hathach Aug 24, 2023
e6cf125
save data toggle, always retry NAK. work with msc device
hathach Aug 24, 2023
f5ebc17
add spi lock with interrupt enable/disable
hathach Aug 25, 2023
09ceaa6
add osal mutex for spi
hathach Aug 25, 2023
ecf2f91
use endpoint pool for more flexible multiple devices support
hathach Aug 25, 2023
ac00b91
add xact_out(), xact_in() to manage transfer
hathach Aug 25, 2023
cd7464a
try next endpoint when received NAK
hathach Aug 25, 2023
502b1bd
more update to transaction
hathach Aug 27, 2023
84df3b0
minor update
hathach Aug 27, 2023
b31924e
- add xfer_complete_isr()
hathach Aug 28, 2023
3740a32
- correct tuh_max3421e_int_api() for nrf52
hathach Aug 29, 2023
2a814a9
- hcd_setup_send() also check for busy flag
hathach Aug 29, 2023
1ab488e
call xfer_complete_isr() when result is not successful (stalled or fa…
hathach Aug 30, 2023
4149342
use ep buf to keep setup packet, work well with hid device
hathach Aug 30, 2023
3b7d5aa
improve connection & disconnection detection. But there is still issu…
hathach Aug 31, 2023
ed0a233
vastly improve attach/detach device, still have issue where thing is …
hathach Aug 31, 2023
1b9108e
minor debug clean up
hathach Sep 6, 2023
21ab40b
- wrap up hcd max3421, work well with nrf52840
hathach Sep 7, 2023
ed102a7
Merge branch 'master' into add-max3421e-hcd
hathach Sep 7, 2023
bcc77a6
get spi working for metro m4 express
hathach Sep 8, 2023
1d68f2a
metro m4 working with max3421e
hathach Sep 8, 2023
c074488
minor rename
hathach Sep 9, 2023
605ad73
refactor max3421_init() for samd51 to be generic for sercom and eic
hathach Sep 9, 2023
e32c1e0
both samd21/d51 works perfectly with max3421e
hathach Sep 9, 2023
ab95854
wrap up build cmake & make support for max3421, to enable the Host dr…
hathach Sep 11, 2023
1eb0cb0
update readme to include max3421 support
hathach Sep 11, 2023
f55052b
enable max3421 host for feather nrf52840 with makefile
hathach Sep 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
- 'lpc11 lpc13 lpc15 lpc17'
- 'lpc51 lpc54'
- 'mm32 msp432e4'
- 'nrf'
- 'samd11 same5x saml2x'
- 'stm32f2 stm32f3'
- 'stm32l0 stm32u5 stm32wb'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cmake_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- 'lpc18 lpc40 lpc43'
- 'lpc55'
- 'mcx'
- 'nrf'
- 'ra'
- 'rp2040'
- 'samd21'
Expand Down
5 changes: 3 additions & 2 deletions .idea/cmake.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/kl25.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/lpc1857.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/lpc4088.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations/lpc54628.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations/lpc55s69.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/mcx947.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/nrf52840.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/nrf5340.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/ra4m1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/ra6m1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/ra6m5.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/rt1010.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading