Soma’s Status Report for 11/7

Accomplishments

This week, I focused on assembling a protoboard setup for initial microphone and speaker testing. The setup allowed us to connect the audio components to our development hardware without needing to wait for the custom PCB. Using this setup, we were able to successfully record audio from the microphone and play it back through the speaker. This was an important milestone since it allowed us to verify the basic functionality of our audio hardware and identify issues before moving to the final PCB.

Progress on Schedule

We made good progress this week by getting the microphone and speaker working together in our initial testing setup. This gives us more confidence in our hardware choices and allows us to begin testing the signal processing components of our ANC system. There are still some audio artifacts to resolve, but the core hardware functionality has been demonstrated.

Deliverables for Next Week

Next week, I plan to continue testing the microphone and speaker setup and characterize the audio quality. I also want to investigate the clicking artifacts we observed during playback and help verify that the hardware can support continuous audio streaming. Once the audio path is stable, I will begin preparing the setup for initial noise cancellation experiments.

Josef’s Status Report for 11/7

Accomplishments

This week, I focused on finalizing the custom PCB design for our ANC system. I completed the necessary revisions to support the audio codec interfaces, including the microphone inputs, speaker outputs, and digital communication with the STM32. I also reviewed the component connections and routing to ensure that the board would support our intended audio pipeline. In addition to the PCB work, I helped with initial firmware testing of the audio codec, where we were able to successfully record and play back audio through our development setup.


Progress on Schedule

We made significant progress this week by successfully demonstrating audio recording and playback. The PCB design has also been finalized, which puts us in a good position for hardware integration. While we still need to validate the custom board once it arrives, we have demonstrated that the basic audio interfaces work.

Deliverables for Next Week

Next week, I plan to continue working on the STM32 firmware, particularly DMA-based audio transfers and clock configuration. I also want to investigate the periodic clicking we observed during playback and improve the reliability of continuous audio streaming. Once the PCB arrives, I will begin hardware bring-up and validation of the codec interfaces.


Team Status Report for 10/31

Project Progress

This week, our team continued making progress on the hardware and software components of our active noise cancellation system. Our main focus was preparing the STM32U575 for audio processing, refining the PCB design, and investigating the integration of the microphones, speakers, and audio codec.

On the firmware side, we focused on the STM32 clock configuration and the SAI peripheral needed to communicate with the ADAU1372 codec. We investigated how to generate the required 12.288 MHz master clock and configure the audio interfaces for continuous sampling. We also considered using DMA and buffering to reduce CPU overhead and maintain low audio latency.

On the hardware side, we made several smaller revisions to the PCB, including reviewing component footprints, resistor and capacitor selections, and routing. We also continued evaluating microphone and speaker placement for the wearable device. In parallel, we investigated the timing and buffering requirements of the ANC algorithm to prepare for integration with the audio pipeline.

Risks and Contingency Plans

Our largest technical risk remains the latency of the complete audio processing pipeline. Since ANC requires generating an inverted noise signal with very little delay, latency introduced by the codec, DMA transfers, buffering, and signal processing could significantly affect cancellation performance. To manage this risk, we are prioritizing a minimal audio input/output pipeline before integrating the full ANC algorithm. We also plan to experiment with smaller processing buffers and measure the resulting latency.

Another risk is the integration of the STM32 with the ADAU1372 codec, particularly the clock configuration and synchronization of the audio interfaces. Incorrect clocking could prevent reliable audio sampling. We are addressing this by investigating the STM32 clock tree and SAI configuration before implementing the complete firmware. If necessary, we can initially test the codec using a simpler audio passthrough application to isolate hardware and driver issues.

Finally, hardware manufacturing and assembly remain potential schedule risks. We are continuing to review the PCB design and component selections to minimize the likelihood of manufacturing issues. We also plan to use development boards and codec breakout hardware for initial firmware testing so that software development can continue independently of the custom PCB.

Design Changes

We did not make any major changes to the overall system architecture this week. However, we made several minor revisions to the PCB design involving component selection, footprints, and routing to improve manufacturability and ensure compatibility with our selected components.

We also refined our approach to firmware development by prioritizing clock configuration, SAI communication, and DMA-based audio transfers before implementing the complete ANC processing loop. This does not change our system requirements but allows us to validate individual components before integrating them.

These changes do not introduce significant additional hardware costs, although the firmware work requires additional development and testing time.

Schedule and Next Steps

Overall, our team is making progress, although the audio integration work has taken more investigation than initially anticipated. We are prioritizing the core audio pipeline to avoid delays during system integration.

Next week, we plan to finalize the STM32 clock configuration, begin implementing the SAI and DMA drivers, and work toward a basic audio passthrough test with the ADAU1372. We also plan to continue developing the ANC processing code, finalize the microphone and speaker placement strategy, and complete the remaining PCB reviews.

Our immediate goal is to establish reliable audio input and output so that we can begin testing the complete ANC feedback loop on embedded hardware.

May’s Status Report for 10/31

Work Accomplished

This week, I focused on the hardware integration and physical design considerations for our active noise cancellation system. I reviewed the placement of the reference and feedback microphones and considered how their positions will affect the system’s ability to measure ambient noise and the resulting cancellation signal.

I also worked on planning the connections between the microphones, speakers, and main PCB. Since our device is intended to be worn on the head, the size and positioning of the components are important considerations. I considered how the microphone and speaker connections can be arranged to keep the device compact while still allowing adjustments during testing.

Additionally, I reviewed the hardware requirements for integrating the audio codec with the rest of the system, including the microphone inputs, speaker outputs, and power connections.

Schedule Progress

I am generally on schedule with the hardware planning, although some of the physical integration decisions will need to be validated once we receive and assemble the hardware. The main challenge is balancing the size of the wearable device with the microphone placement requirements. We plan to address this through testing and adjustments to the physical arrangement.

Deliverables for Next Week

Next week, I plan to finalize the initial microphone and speaker placement strategy and continue preparing for hardware integration. I also hope to begin testing the physical arrangement of the audio components and identify any mechanical or electrical issues that need to be addressed before assembling the complete system.

Soma’s Status Report for 10/31

Work Accomplished

This week, I focused on the signal processing side of our active noise cancellation system, particularly the requirements for implementing the ANC algorithm on our embedded hardware. I investigated how the reference and feedback microphone signals will be used to generate the cancellation signal and considered the timing constraints imposed by real-time audio processing.

I also looked into how audio buffering and processing block sizes affect latency. Since the effectiveness of ANC depends heavily on how quickly the system can respond to incoming noise, we need to minimize the delay between sampling the microphones and generating the output signal. I considered how these constraints will affect our firmware implementation and discussed the interface between the audio processing code and the STM32 audio drivers.

Schedule Progress

My progress is generally on schedule. However, testing the ANC algorithm on the actual hardware will depend on having a working audio input and output pipeline. In the meantime, I can continue developing and evaluating the processing logic independently of the hardware.

Deliverables for Next Week

Next week, I plan to continue developing the ANC processing implementation and establish a clearer interface between the algorithm and the audio buffers. I also hope to begin evaluating the algorithm using representative audio signals so that we can identify performance limitations before integrating it with the STM32 firmware.

Josef’s Status Report for 10/31

Work Accomplished

This week, I primarily focused on firmware development for the STM32U575 and made a few revisions to our PCB design. Most of my time was spent investigating the STM32 clock tree and determining how to configure the clocks needed for our audio processing system. In particular, I looked into the PLL configuration and how to generate the appropriate clock frequencies for the ADAU1372 audio codec, which requires a 12.288 MHz master clock for our intended audio configuration.

I also researched the STM32’s SAI peripheral and how we can configure it to communicate with the codec. This included understanding the relationships between the master clock, bit clock, and left-right clock, as well as how audio samples will be transferred between the codec and the microcontroller. Since our system needs to process audio continuously with low latency, I also considered how DMA can be used to transfer samples without requiring the CPU to handle every individual transfer.

On the hardware side, I made some smaller PCB revisions involving component selection, footprints, and routing. I also reviewed the connections between the STM32 and codec to ensure that the signals required for audio communication were accounted for.

Schedule Progress

I am mostly on schedule, although configuring the audio clocking and peripherals has required more investigation than initially expected. Getting the clock configuration correct is important because the rest of the firmware depends on reliable audio sampling. I plan to prioritize basic codec communication and audio input/output before moving on to the ANC processing implementation.

Deliverables for Next Week

Next week, I plan to finalize the STM32 clock configuration and begin implementing the SAI and DMA drivers. My main goal is to establish a basic audio pipeline that can receive samples from the codec and transmit samples back to it. I also plan to finish reviewing the remaining PCB changes so that we can move toward manufacturing and hardware testing.

Josef’s Status Report for 10/24

This week, I continued working on the hardware implementation of our active noise cancellation system, with my primary focus being the preparation and refinement of our custom breakout boards. As we move further into the implementation phase, I have been reviewing the schematics and PCB layouts to ensure that the selected components can be reliably interfaced with the STM32 development board. In particular, I focused on verifying the connections required by the audio codec, including its power supply, clock inputs, and digital communication interfaces. I also continued considering how to make the boards easier to debug by ensuring that important signals and power rails are accessible during testing.

I also spent time investigating how the electronics will eventually be integrated into our final wearable form factor. Because the device is intended to be comfortable during sleep, minimizing the size and rigidity of the electronics remains an important design constraint. I continued looking into potential layouts for the custom PCB, including how to route connections between the microphones, speakers, processor, and supporting power-management components. Building on our previous investigation of commercial headphones, I also further considered the use of temporary SWD programming connections to avoid permanently incorporating large connectors into the final design.

Another area I focused on was preparing for the initial hardware verification process. Once the breakout boards have been fabricated and assembled, I plan to begin by checking continuity and verifying that the required power rails are operating correctly before attempting communication with the codec. After that, the next step will be testing the individual microphone and speaker interfaces and confirming that the hardware can reliably communicate with the STM32. My work is progressing toward physical hardware testing, and next week I plan to continue advancing the breakout boards toward fabrication and assembly so that we can begin validating the electrical design.

Soma’s Status Report

This week, I continued working on the signal-processing and physical integration aspects of our active noise cancellation system. My primary focus was on preparing the Hybrid LxFMS algorithm for implementation on the STM32 and considering how its performance in simulation will translate to the actual hardware. Our earlier MATLAB simulation demonstrated promising noise attenuation, particularly at lower frequencies, but real-world performance will depend on additional factors such as microphone placement, speaker response, and processing latency. I therefore continued examining the algorithm’s filtering operations and adaptive coefficient updates to better understand how they can be implemented efficiently within the computational constraints of the processor.

I also spent time considering how the physical arrangement of the microphones and speakers will affect the effectiveness of the ANC system. In particular, I looked into the relationship between the reference microphones, which detect incoming noise, and the error microphones, which measure the residual sound near the user’s ears. Since the adaptive algorithm relies on this feedback to update its filter coefficients, the placement of these components will be important in determining how effectively the system can cancel unwanted noise. I also considered how the secondary acoustic path between the speaker and error microphone may need to be characterized experimentally once we have a working audio-processing pipeline.

Alongside the DSP work, I continued investigating the physical design of the wearable and how the electronic components can be integrated into a comfortable sleep-mask form factor. This included considering the positioning of the speakers around the ears, the placement of the microphones, and how the electronics can be distributed without creating excessive pressure when the user is lying on their side. My work is currently focused on preparing both the algorithm and acoustic configuration for experimental validation. Next week, I plan to continue refining the embedded implementation of the ANC algorithm and develop a more concrete testing procedure for measuring noise attenuation across different frequencies once the hardware becomes available.

Team Status Report for 10/24

This week, our team continued making progress toward implementing the hardware and software components of our active noise cancellation system. With most of the major architectural decisions and component selections finalized, our focus has increasingly shifted toward developing the individual subsystems that will eventually be integrated into the final wearable device. In particular, we continued working on the STM32 firmware, preparing the Hybrid LxFMS algorithm for embedded execution, and advancing the fabrication of our custom breakout boards. Although the complete system is not yet ready for integration, these efforts are helping establish the foundation needed to begin hardware testing and validation.

On the software side, we continued developing the low-level firmware infrastructure required to support real-time audio processing on the STM32. A major focus was the configuration of the SAI/I2S peripheral and DMA transfers, which will allow audio samples to move continuously between the processor and the audio codec without requiring the CPU to handle every sample individually. We also investigated the implementation of a double-buffered DMA architecture, in which the processor operates on one block of audio samples while the next block is simultaneously being received. This approach is particularly important for our application because ANC requires consistent processing intervals and minimal latency between detecting unwanted noise and generating the corresponding anti-noise signal.

We also made progress in determining how the Hybrid LxFMS algorithm will eventually be implemented on the processor. Our current system design uses a 48 kHz sampling rate with 64-sample processing blocks, meaning that the processor must complete the necessary computations within approximately 1.33 milliseconds per block to maintain continuous audio processing. While this provides a useful initial timing constraint, the actual available processing time will depend on peripheral overhead, DMA behavior, and other firmware operations. We therefore began considering how to organize the filtering and adaptive coefficient-update operations to make efficient use of the STM32’s floating-point and DSP capabilities. Our goal is to eventually compare the computational requirements of the algorithm against measurements collected from the actual processor.

On the signal-processing side, we continued examining the relationship between the ANC algorithm and the physical acoustic configuration of the device. Our previous MATLAB simulation demonstrated promising attenuation, particularly at lower frequencies, but the effectiveness of the algorithm in practice will depend heavily on the placement of the microphones and speakers, as well as the acoustic propagation paths between them. We therefore continued considering how the reference and error microphones should be positioned within the wearable to provide useful information to the adaptive filter. We also began planning how to test different acoustic configurations once the hardware is assembled, allowing us to evaluate whether the attenuation observed in simulation can be reproduced experimentally.

On the hardware side, we continued preparing our custom breakout boards for fabrication and assembly. These boards will allow us to test the audio codec and other supporting components independently before incorporating them into the final PCB. Particular attention was given to ensuring that the designs provide the necessary power connections, communication interfaces, and accessible test points for debugging. We also continued refining our approach to programming the STM32 on the eventual custom board, with the current plan involving the SWD interface and temporary programming connections rather than a large permanent connector. This should help minimize the physical footprint of the electronics while preserving the ability to program and debug the device during development.

Another important area of work was planning the testing and verification procedures for the individual subsystems. Rather than attempting to integrate the complete ANC system immediately, we intend to proceed through several stages of validation. The first step will be verifying basic processor functionality and communication with the audio codec. Once this is established, we plan to test continuous DMA-based audio transfers and implement a simple audio passthrough system. We can then introduce fixed filtering operations before moving toward the full adaptive Hybrid LxFMS algorithm. This incremental approach should make it easier to isolate issues related to peripheral configuration, audio synchronization, processing latency, and signal integrity.

We also continued considering the physical integration of the electronics into the sleep-mask form factor. Although the immediate priority remains getting the individual electrical and software components working, the final system must also satisfy our original requirements for comfort, low weight, and overnight operation. Consequently, decisions involving PCB dimensions, wiring, component placement, and power consumption need to remain compatible with the wearable design. We are continuing to treat the mechanical and electrical aspects of the project as interconnected challenges rather than separate tasks.

Overall, the project continues to progress from preparation and design toward implementation and testing. The firmware architecture is becoming more concrete, the ANC algorithm is being prepared for embedded execution, and the custom hardware is moving closer to physical validation. Our main remaining challenge is integrating these independently developed components into a reliable real-time audio-processing system. Next week, we plan to continue STM32 peripheral development, advance the fabrication and testing of our breakout boards, and work toward establishing the first complete audio input-to-output pipeline. Once that basic functionality is demonstrated, we will be in a much stronger position to begin integrating the adaptive ANC algorithm and measuring the actual performance of the system against our original design requirements.

May’S Status Report for 10/24

This week, I continued working on the embedded software for our STM32-based active noise cancellation system. My primary focus was on developing the low-level firmware infrastructure needed to support real-time audio processing. In particular, I continued working on the configuration of the SAI/I2S interface and DMA transfers, which will eventually allow audio samples to move between the processor and audio codec without requiring constant CPU intervention. I also looked further into implementing a double-buffered system so that the processor can perform computations on one block of audio samples while the next block is being received.

Another area I focused on was preparing the software architecture for integrating our Hybrid LxFMS ANC algorithm. Since our current design uses a 48 kHz sampling rate and 64-sample processing blocks, I considered how to organize the audio-processing pipeline to minimize latency and ensure that computations can consistently finish before the next block becomes available. I also began looking into how we could use the STM32’s DSP instructions and floating-point capabilities to accelerate the filtering and coefficient-update operations.

I also continued planning how to test and benchmark the firmware once the complete audio hardware is available. In particular, I want to measure the execution time of individual processing blocks, CPU utilization, and the timing of DMA interrupts to determine how much computational headroom remains for the ANC algorithm. Although full audio testing still depends on successfully bringing up the codec and associated hardware, the software infrastructure is gradually becoming more concrete. Next week, I plan to continue implementing the audio pipeline and work toward running basic passthrough and filtering tests on the development board before integrating the complete adaptive ANC algorithm.