Article: NuttX RTOS for PinePhone: USB with Enhanced Host Controller Interface
#1
Weeks ago we talked about porting Apache NuttX RTOS (Real-Time Operating System) to PinePhone, and how we might turn it into a Feature Phone.

But to make phone calls and send text messages, we need to control the LTE Modem over USB. Thus today we’ll build a USB Driver for NuttX on PinePhone…

1. What’s USB Enhanced Host Controller Interface (EHCI)

2. Why it’s simpler than USB On-The-Go (OTG)

3. How we ported the USB EHCI Driver from NuttX to PinePhone

4. Handling USB Clocks and USB Resets on PinePhone (with tips from U-Boot Bootloader)

5. And the NuttX EHCI Driver boots OK on PinePhone!

NuttX RTOS for PinePhone: Simpler USB with EHCI (Enhanced Host Controller Interface)
  Reply
#2
Thanks so much for all your hard work on this, and really enjoying all your posts.

Really hoping you'll be the first person to get the modem working 100%. Could be a game changer!
  Reply
#3
Thank you so much for reading :-)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Video] LVGL in WebAssembly: Building NuttX Touchscreen Apps with Zig lupyuen 0 31 Yesterday, 03:37 AM
Last Post: lupyuen
  [Video] PinePhone Touchscreen on NuttX: MIPI DSI, Display Engine, Touch Panel lupyuen 2 59 09-29-2023, 11:37 PM
Last Post: lupyuen
  [Video] Apache NuttX RTOS for PINE64 PinePhone lupyuen 0 51 09-27-2023, 11:26 PM
Last Post: lupyuen
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 27 18,597 09-24-2023, 12:37 PM
Last Post: mara
  Apache NuttX International Workshop (Sep 29 & 30) lupyuen 0 127 09-14-2023, 07:18 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly lupyuen 64 5,806 09-09-2023, 09:49 AM
Last Post: WhiteHexagon
  What File Manager Options Are There For The Pinephone? pinephoneuser22 6 845 09-08-2023, 07:53 AM
Last Post: mikehenson
  Using Signal on PinePhone in mid-2023? dante404 41 4,798 09-08-2023, 01:35 AM
Last Post: dragonhospital
  Pinephone OS Backups (System Images) ThrillGates 6 6,099 08-20-2023, 09:22 AM
Last Post: DominiqueM
  [Presentation] What's inside a PinePhone? Exploring the internals with Apache NuttX lupyuen 0 1,076 08-09-2023, 09:43 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)