(There’s also the Flash LED for PinePhone’s Back Camera, enabled by GPIO PC3 and triggered by GPIO PD24. See page 10 of the PinePhone Schematic) E

NuttX RTOS for PinePhone: Blinking the LEDs

submited by
Style Pass
2022-09-21 09:00:41

(There’s also the Flash LED for PinePhone’s Back Camera, enabled by GPIO PC3 and triggered by GPIO PD24. See page 10 of the PinePhone Schematic)

Earlier we saw these values for the Registers PD_CFG2 (configure GPIO Output) and PD_DATA (write GPIO Output) when lit up the PinePhone LEDs…

Enter these peek and poke commands to watch the Register Values change as we configure the GPIOs and blink them (pic above)…

For safety, future versions of NuttX RTOS for PinePhone may disable direct access to the Hardware Registers. (By enabling the Arm64 Memory Management Unit)

PinePhone’s Linux Device Tree says this about the TCON0 Timing Controller at Address 0x1C0 C000: sun50i-a64-pinephone-1.2.dts

Allwinner A64’s Timing Controller (TCON0) controls PinePhone’s LCD Display via the Display Serial Interface (DSI), as defined by the Mobile Industry Processor Interface (MIPI) Alliance.

PinePhone’s Linux Device Tree reveals this about A64’s MIPI DSI Interface at Address 0x1CA 0000: sun50i-a64-pinephone-1.2.dts

Leave a Comment