https://github.com/zacharyweiss/max3421e-flipper
WIP. MAX3421E port for STM32 MCUs. Modified for use with the Flipper FW stack.
https://github.com/zacharyweiss/max3421e-flipper
flipper flipper-zero flipper0 flipperzero max3421e usb usb-hid usb-host
Last synced: 2 months ago
JSON representation
WIP. MAX3421E port for STM32 MCUs. Modified for use with the Flipper FW stack.
- Host: GitHub
- URL: https://github.com/zacharyweiss/max3421e-flipper
- Owner: zacharyweiss
- Created: 2024-05-06T13:41:53.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-05-27T15:39:20.000Z (11 months ago)
- Last Synced: 2025-02-14T10:11:41.134Z (2 months ago)
- Topics: flipper, flipper-zero, flipper0, flipperzero, max3421e, usb, usb-hid, usb-host
- Language: C
- Homepage:
- Size: 881 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MAX3421E <> F0
WIP example app using custom `furi` glue for `tinyusb`, to allow the Flipper Zero to use the MAX3421E as a USB host controller.
Doing all testing with https://www.adafruit.com/product/5858 currently. Previously was trying with https://www.amazon.com/dp/B01EWW9R1E, 2 of 2 chips bought from Amazon wouldn't properly respond over SPI — recommend avoiding this product and/or seller.
F0 pins as follows:
- (Default external SPI) MISO = PA6
- (Default external SPI) MOSI = PA7
- (Default external SPI) CLK = PB3
- (Default external SPI) CS = PA4
- INT = PB2TODO:
- Cleanup worker, setup proper callbacks w/ stream buffer & textbox
- Figure out why MAX never asserts `OSCOKIRQ` post-issuing `USBCTL CHIPRES`
- Others have [reported this as a chip misdesign](https://electronics.stackexchange.com/questions/372236/bugs-in-maxim-chip-max3421e-used-as-usb-host)
- [ ] test replacing wait for `OSCOKIRQ` w/ simple delay
- [ ] PR `tinyusb`?