TB2026-YDS Firmware
Loading...
Searching...
No Matches
Topics
Here is a list of all topics with brief descriptions:
 Board Support PackageLow-level board drivers: SPI, I2C, I2S buses and the volume ADC
 ADC / Volume potentiometerPotentiometer sampling on ADC1 and mapping to PCM5242 digital volume
 I2C busShared I2C master bus (expander, DAC control, fuel gauge)
 I2S busI2S0 master TX stream to the PCM5242 DAC
 SPI busesDisplay on SPI2 (HSPI), SD card on SPI3 (VSPI); both on native IOMUX pins
 DriversChip-level drivers built on top of the bsp buses
 Audio DAC (PCM5242)I2C control of the PCM5242 digital volume and soft mute
 OLED display (SSD1333)Panel init and full-frame RGB565 blit over SPI
 Fuel gauge (MAX17260)I2C access to the ModelGauge m5 EZ state-of-charge and analog measurements
 GPIO expander (PI4IOE5V9554A)I2C access to the 8 expander channels: per-pin output, input read
 microSD card (FATFS over SPI)Mount/unmount a FAT volume at "/sdcard" and read card presence
 ServicesHigh-level services built on top of the drivers and bsp layers
 Audio sink interfaceOutput-agnostic PCM sink: the pipeline writes frames here without knowing whether they go to the wired DAC or to Bluetooth A2DP
 Audio decoderDecode an MP3 or WAV file into PCM for an Audio sink interface
 Audio pipelineReal-time task feeding PCM from a source to an Audio sink interface
 Playback transportPlay/pause/resume/stop/next/prev over the playlist, with auto-advance on EOF
 Playlist serviceCurrent track + next/prev navigation over the storage index (no hardware)
 Track metadataRead tags + format from a file without playing it (for now_playing and the browser)
 Volume serviceSole writer of the PCM5242 digital volume (pot -> DAC, with L/R balance)
 Autonomy test serviceSelf-measured battery autonomy: workload run + discharge-curve logging
 Bluetooth serviceClassic Bluetooth A2DP source stack and connection management
 Diagnostics serviceOpt-in FreeRTOS stack / run-time / heap measurement for the characterisation campaign
 Input serviceButtons -> ui_event_t queue, interrupt-driven and discrete (one press, one event)
 Input logic (pure)Debounce + press-edge detection + button->ui_event mapping, no hardware
 Maintenance serviceShared low-priority task that periodically drives background chores
 Power serviceBattery state, charge detection, low-battery policy, and power on/off
 Settings servicePersistent key/value store for user preferences (NVS-backed)
 Storage serviceEnumerate the SD card's playable tracks and serve them by index
 User InterfaceFramebuffer rendering, the screen interface, navigation and input events
 Input eventsThe input events a screen can receive
 GraphicsSoftware rendering into an in-RAM RGB565 framebuffer, blitted by gfx_flush()
 NavigatorA fixed-depth stack of screens; the top screen owns input and rendering
 Screen interfaceThe polymorphic screen contract, as a manual C "vtable"
 Status barPermanent top bar shared by every screen: Bluetooth state, active output, battery percent