This week, I worked on firmware development, payload formatting, AoA data analysis, and DK setup. I successfully compiled firmware v2 for the nRF52833 DK, with Flash usage at 19.72% and RAM usage at 14.25%. I also created payload_format.h and payload_format.py to define the payload format for both the embedded firmware and Python scripts. In addition, I developed analyze_aoa.py to process AoA measurements and calculate angle statistics, and added a self-test to verify the script. For hardware setup, I configured the Nordic development environment and confirmed that nrfutil could detect the DK. I attempted to flash firmware v2 onto the board, but the operation was blocked by AP-Protect. I identified west flash --recover as the required next step and also identified the DK serial ports for checking firmware startup logs.
The main files completed or updated this week include tag_fw/, tag_fw/src/payload_format.h, payload_format.py, analyze_aoa.py, and checklist.txt. I spent approximately 15 hours on the project this week.
The tasks are on schedule. Firmware v2 compiles successfully, and the payload format and AoA analysis script are ready. Once the firmware is programmed, I will check the serial logs to verify that Bluetooth initialization, CTE configuration, and advertising are working correctly. I plan to prioritize these hardware integration tasks at the beginning of next week.
Next week, I plan to finish flashing firmware v2 onto the nRF52833 DK and verify its startup logs, including extended advertising, periodic advertising, and CTE configuration. I also plan to complete the first integration test between the DK and the anchor and obtain the first valid AoA measurements. I will collect measurements at three different positions: directly in front of the anchor and approximately 27° to either side. These measurements will be analyzed using analyze_aoa.py to check angle direction, standard deviation, and measurement frequency. In addition, I plan to use check_payload.py to verify the received payload data and check for missing sequence numbers. Finally, I will test higher UART baud rates and verify the final communication settings. The main goal is to get the DK and anchor communicating successfully and obtain the first set of valid AoA measurements.










