Skip to content

Addition of the timestamp in the microphone#5

Merged
Sebi1128 merged 3 commits into
pulp-bio:feature/FW-refactoringfrom
giovannipollo:feature/FW-refactoring
May 6, 2026
Merged

Addition of the timestamp in the microphone#5
Sebi1128 merged 3 commits into
pulp-bio:feature/FW-refactoringfrom
giovannipollo:feature/FW-refactoring

Conversation

@giovannipollo
Copy link
Copy Markdown

This pull request updates the microphone BLE packet structure to include a timestamp for improved synchronization. The main changes involve adding a 4-byte timestamp to each packet, adjusting the packet size and memory offsets accordingly.

Packet structure and synchronization improvements:

  • Added a 4-byte timestamp (in microseconds) to the BLE packet for synchronization purposes, and updated the packet size definition in mic_appl.h (MIC_PCKT_SIZE is now 1 + 2 + 4 + 128 + 1 = 136 bytes).
  • Modified the packet construction in mic_appl.c to insert the timestamp after the header and counter, and adjusted the offset for copying audio samples to account for the new timestamp field.

@Sebi1128 Sebi1128 merged commit 5353d1c into pulp-bio:feature/FW-refactoring May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants