<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Projects on Vamsi Kiran | Firmware Engineer</title><link>https://vamsikiran277.github.io/projects/</link><description>Recent content in Projects on Vamsi Kiran | Firmware Engineer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 20 Apr 2026 10:00:00 +0000</lastBuildDate><atom:link href="https://vamsikiran277.github.io/projects/index.xml" rel="self" type="application/rss+xml"/><item><title>Smart Asset Tracker &amp; Telemetry Dashboard</title><link>https://vamsikiran277.github.io/projects/smart-asset-tracker/</link><pubDate>Mon, 13 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/smart-asset-tracker/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Target Hardware:&lt;/strong&gt; Raspberry Pi 4 Model B&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sensing Hardware:&lt;/strong&gt; ADXL345 (3-Axis Digital Accelerometer)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Languages:&lt;/strong&gt; C++ (Qt 6), Embedded C (Paho MQTT), Bash&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protocols:&lt;/strong&gt; MQTT over SSL/TLS (Port 8883), I2C, JSON&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cloud Infrastructure:&lt;/strong&gt; HiveMQ Cloud Broker&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Networking:&lt;/strong&gt; Tailscale Mesh VPN, Pi-hole (DNS Security)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;Engineered a secure, end-to-end telemetry pipeline designed to monitor and synchronize high-G impact data from edge devices to a centralized monitoring station. This project bridges the gap between register-level sensor interfacing on Linux and high-level data visualization using the Qt framework. The system is hardened with industry-standard encryption to ensure data integrity across public networks.&lt;/p&gt;</description></item><item><title>FreeRTOS Task Management &amp; Sensor Suite</title><link>https://vamsikiran277.github.io/projects/freertos-tasks/</link><pubDate>Sat, 18 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/freertos-tasks/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Languages:&lt;/strong&gt; Embedded C (C11)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Operating System:&lt;/strong&gt; FreeRTOS (POSIX Port)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protocols:&lt;/strong&gt; I2C, Hardware Interrupts (GPIO)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt; libgpiod, GDB, GCC, Linux terminal&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;The objective was to design a robust, thread-safe sensor acquisition system on a Linux-based RTOS environment. This project demonstrates high-reliability multitasking where multiple sensors share a single communication bus without data corruption or timing jitter.&lt;/p&gt;
&lt;h3 id="technical-highlights"&gt;Technical Highlights&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Kernel-Level Multitasking:&lt;/strong&gt; Leveraged the &lt;strong&gt;FreeRTOS POSIX Port&lt;/strong&gt; to manage three concurrent tasks using fixed-priority preemption, ensuring mission-critical tasks always receive CPU time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Thread-Safe I2C Management:&lt;/strong&gt; Implemented a &lt;strong&gt;Mutex Semaphore&lt;/strong&gt; to arbitrate access to the I2C bus. This prevents data collisions between the &lt;strong&gt;ADXL345 Accelerometer&lt;/strong&gt; and &lt;strong&gt;DS3231 RTC&lt;/strong&gt; tasks when accessing shared hardware.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Asynchronous Event Handling:&lt;/strong&gt; Developed a high-priority hardware listener using &lt;strong&gt;libgpiod&lt;/strong&gt; to capture falling-edge interrupts on GPIO 17, triggering a system-wide graceful shutdown.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deterministic Scheduling:&lt;/strong&gt; Replaced standard sleep calls with &lt;code&gt;vTaskDelayUntil()&lt;/code&gt; to ensure a consistent &lt;strong&gt;10Hz sampling frequency&lt;/strong&gt;, eliminating timing drift critical for real-time telemetry analysis.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource Cleanup:&lt;/strong&gt; Engineered a custom &lt;code&gt;shutdown()&lt;/code&gt; sequence ensuring all RTOS tasks are deleted and Linux file descriptors (I2C/GPIO) are properly closed before process termination.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="live-rtos-execution--task-arbitration"&gt;Live RTOS Execution &amp;amp; Task Arbitration&lt;/h3&gt;
&lt;p&gt;The following terminal trace captures the live execution of the FreeRTOS tasks. It demonstrates the real-time arbitration of the I2C bus between the high-frequency accelerometer and the low-frequency real-time clock.&lt;/p&gt;</description></item><item><title>BSP-Backed Embedded Application</title><link>https://vamsikiran277.github.io/projects/bsp-application/</link><pubDate>Wed, 15 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/bsp-application/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Languages:&lt;/strong&gt; Bare-Metal C (C11)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hardware:&lt;/strong&gt; STM32F407 (Discovery Board) - ARM Cortex-M4&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Simulation:&lt;/strong&gt; Renode (Antmicro)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protocols:&lt;/strong&gt; UART (USART2), SysTick Timer logic&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt; arm-none-eabi-gcc, GDB, Renode&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;A modular firmware application demonstrating a clean separation between hardware-specific drivers (BSP) and high-level application logic. The project focuses on non-blocking execution, architectural maintainability, and full system virtualization using the Renode framework.&lt;/p&gt;
&lt;h3 id="technical-highlights"&gt;Technical Highlights&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Layered Architecture (BSP):&lt;/strong&gt; All register-level operations (RCC, GPIO, UART) are encapsulated within a dedicated Board Support Package. The application layer interacts only with abstract APIs, containing zero raw register addresses.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Non-Blocking Logic:&lt;/strong&gt; Replaced &amp;ldquo;busy-wait&amp;rdquo; loops with a &lt;strong&gt;SysTick-based interrupt system&lt;/strong&gt;, allowing the CPU to process concurrent tasks (LED Heartbeat and Status Reporting) without stalling the execution thread.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UART Serial Driver:&lt;/strong&gt; Developed a custom driver for USART2, featuring manual Baud Rate calculation for the &lt;strong&gt;16 MHz HSI clock&lt;/strong&gt; to ensure stable &lt;strong&gt;115200 baud&lt;/strong&gt; communication.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Virtual Hardware Validation:&lt;/strong&gt; Successfully virtualized the STM32F407 hardware environment in &lt;strong&gt;Renode&lt;/strong&gt;, enabling cycle-accurate firmware testing and UART output auditing without physical silicon.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="simulation--hardware-verification"&gt;Simulation &amp;amp; Hardware Verification&lt;/h3&gt;
&lt;p&gt;The project is validated using &lt;strong&gt;Renode&lt;/strong&gt; to audit register-level interactions and verify the timing logic of the Board Support Package. By mapping the internal &lt;code&gt;USART2&lt;/code&gt; peripheral to a virtual analyzer, the firmware execution is audited for cycle-accurate behavior before deployment to physical silicon.&lt;/p&gt;</description></item><item><title>Peripheral Driver Suite: GPIO, I2C, SPI &amp; UART</title><link>https://vamsikiran277.github.io/projects/peripheral-drivers/</link><pubDate>Mon, 20 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/peripheral-drivers/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Languages:&lt;/strong&gt; C++ (OOP Approach), Makefile&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protocols:&lt;/strong&gt; I2C, SPI, UART (Mini-UART), GPIO (Alternate Functions)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hardware:&lt;/strong&gt; Raspberry Pi 4 (BCM2711 / ARM Cortex-A72)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt; BCM2711 ARM Peripherals Datasheet, GCC Toolchain, GDB&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;Developed a comprehensive, register-level peripheral driver suite for the Raspberry Pi 4 using an Object-Oriented approach in C++. This project demonstrates how to translate complex technical datasheets into a modular, reusable Hardware Abstraction Layer (HAL).&lt;/p&gt;</description></item><item><title>ZX-8080 MCU: Bare-Metal Peripheral Control</title><link>https://vamsikiran277.github.io/projects/zx-8080-mcu/</link><pubDate>Sun, 12 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/zx-8080-mcu/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Target Hardware:&lt;/strong&gt; ZX-8080 (32-bit RISC-V Architecture)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Clock Speed:&lt;/strong&gt; 80 MHz System Frequency&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Language:&lt;/strong&gt; Bare-Metal C&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Toolchain:&lt;/strong&gt; RISC-V GCC (&lt;code&gt;riscv64-unknown-elf-gcc&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Simulation:&lt;/strong&gt; Renode (Antmicro)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Key Peripherals:&lt;/strong&gt; 12-bit SAR ADC, General Purpose Timer (TIM1), GPIO&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;This repository contains a bare-metal C implementation for the &lt;strong&gt;ZX-8080&lt;/strong&gt;, a custom 32-bit RISC-V based microcontroller. The project demonstrates low-level hardware abstraction by interfacing with an onboard 12-bit SAR ADC for thermal monitoring and utilizing a General Purpose Timer for precise LED toggling. Furthermore, the entire hardware environment is successfully virtualized and tested using the &lt;strong&gt;Renode&lt;/strong&gt; simulation framework.&lt;/p&gt;</description></item><item><title>STM32F4 Bare-Metal LED Toggle (Bit-Field &amp; SIL)</title><link>https://vamsikiran277.github.io/projects/bitfield-optimization/</link><pubDate>Sun, 12 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/bitfield-optimization/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Language:&lt;/strong&gt; C (C11/C17)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hardware:&lt;/strong&gt; STM32F407 (ARM Cortex-M4)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt; Renode (SIL Simulation), STM32CubeIDE&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Key Concepts:&lt;/strong&gt; C Bit-Fields, MMIO, Software-in-the-Loop (SIL)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;A low-level firmware implementation for the STM32F407 that demonstrates peripheral control via direct register manipulation. This project bypasses standard HAL/LL libraries to interface directly with the &lt;strong&gt;AHB1 bus matrix&lt;/strong&gt; using custom C bit-field structures for type-safe hardware access.&lt;/p&gt;
&lt;h3 id="technical-highlights"&gt;Technical Highlights&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;C Bit-Field Structures:&lt;/strong&gt; Utilized custom &lt;code&gt;struct&lt;/code&gt; definitions to map hardware registers, ensuring type-safe access to individual bits and eliminating manual bitwise masks (&lt;code&gt;&amp;amp;&lt;/code&gt;, &lt;code&gt;|&lt;/code&gt;, &lt;code&gt;&amp;lt;&amp;lt;&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory-Mapped I/O (MMIO):&lt;/strong&gt; Manually mapped the RCC (Base: &lt;code&gt;0x40023800&lt;/code&gt;) and GPIOD (Base: &lt;code&gt;0x40020C00&lt;/code&gt;) to control hardware clocking and pin states.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SIL Validation (Renode):&lt;/strong&gt; Automated hardware verification using Renode to validate register-level behavior via memory-access tracing. This allows for cycle-accurate auditing of the firmware&amp;rsquo;s execution without physical hardware.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="-simulation--hardware-verification"&gt;🔍 Simulation &amp;amp; Hardware Verification&lt;/h3&gt;
&lt;p&gt;The project is validated using &lt;strong&gt;Renode&lt;/strong&gt; to trace memory-mapped I/O (MMIO) interactions. This ensures the firmware logic correctly targets the ARM Cortex-M4 register map before deployment to physical silicon.&lt;/p&gt;</description></item></channel></rss>