# youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk architecture

> Architecture diagram of the GitHub repository youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk
- Repository: https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk

## Overview

This repository is a set of real-time DSP exercises for the TI TMS320C6713 DSK, with MATLAB signal/filter experiments and generated coefficient or sample data alongside the embedded programs. The runtime workflow is board/codec setup, then audio sampling and either signal synthesis, FIR filtering, or Goertzel tone detection, followed by audio output. The sampled C sources show these paths directly; MATLAB and data-file relationships are not established by the excerpts, so those branches are shown without inferred connections.

Main entry points: [`TP1_GenSignauxAudible/main.c`](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP1_GenSignauxAudible/main.c) (Signal generator), [`TP1_GenSignauxAudible/c6713dskinit.c`](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP1_GenSignauxAudible/c6713dskinit.c) (Board audio I/O), [`TP2_FIR_Algo1/c6713dskinit.c`](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo1/c6713dskinit.c) (Board audio I/O), [`TP2_FIR_Algo2/c6713dskinit.c`](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2/c6713dskinit.c) (Board audio I/O)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_embedded["Embedded exercises"]
  node_signalgen["Signal generator<br/>[main.c]"]
  node_fir1["FIR direct<br/>[main.c]"]
  node_fir2["FIR delayed<br/>[main.c]"]
  node_firfloat["FIR floating<br/>[main.c]"]
  node_goertzel["Goertzel detector<br/>[main.c]"]
end

subgraph group_hardware["Board audio I/O"]
  node_board1["Board audio I/O<br/>[c6713dskinit.c]"]
  node_board2a["Board audio I/O<br/>[c6713dskinit.c]"]
  node_board2b["Board audio I/O<br/>[c6713dskinit.c]"]
  node_board2f["Board audio I/O<br/>[c6713dskinit.c]"]
  node_board4["Board audio I/O<br/>[c6713dskinit.c]"]
  node_codec["AIC23 codec"]
end

subgraph group_coefficients["Filter coefficients"]
  node_fixedcoef["Fixed FIR coefficients<br/>[FIR_COEF.h]"]
  node_floatcoef["Float FIR coefficients<br/>[FIR_COEF_VF.h]"]
end

subgraph group_matlab["MATLAB experiments"]
  node_fir_matlab["FIR model<br/>[FIR.m]"]
  node_fir_low_fixed["Fixed low-pass"]
  node_fir_low_float["Float low-pass"]
  node_gen_goertzel["Goertzel signals"]
  node_gen_22k["22 kHz signals"]
  node_gen_22kvf["22 kHz fixed signals"]
  node_gen_vf["Fixed Goertzel signals"]
  node_audible["Audible signals"]
  node_sintable["Sine table<br/>[GenSinTable.m]"]
end

node_user(("Audio user"))

node_user -.->|"provides audio context"| node_signalgen
node_signalgen -->|"initializes audio"| node_board1
node_signalgen -->|"outputs samples"| node_board1
node_fir1 -->|"initializes audio"| node_board2a
node_fir1 -->|"reads and outputs"| node_board2a
node_fir2 -->|"initializes audio"| node_board2b
node_fir2 -->|"reads and outputs"| node_board2b
node_firfloat -->|"initializes audio"| node_board2f
node_firfloat -->|"reads and outputs"| node_board2f
node_goertzel -->|"initializes audio"| node_board4
node_goertzel -->|"reads and outputs"| node_board4
node_board1 -->|"configures audio hardware"| node_codec
node_board2a -->|"configures audio hardware"| node_codec
node_board2b -->|"configures audio hardware"| node_codec
node_board2f -->|"configures audio hardware"| node_codec
node_board4 -->|"configures audio hardware"| node_codec

click node_signalgen "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP1_GenSignauxAudible/main.c"
click node_fir1 "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo1/main.c"
click node_fir2 "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2/main.c"
click node_firfloat "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2_VFlottant/main.c"
click node_goertzel "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP4_Goertzel/main.c"
click node_board1 "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP1_GenSignauxAudible/c6713dskinit.c"
click node_board2a "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo1/c6713dskinit.c"
click node_board2b "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2/c6713dskinit.c"
click node_board2f "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2_VFlottant/c6713dskinit.c"
click node_board4 "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP4_Goertzel/c6713dskinit.c"
click node_fixedcoef "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/Headers/FIR_COEF.h"
click node_floatcoef "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/Headers/FIR_COEF_VF.h"
click node_fir_matlab "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/FIR.m"
click node_fir_low_fixed "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/Filtre_FIR_PassBas_Fixe.m"
click node_fir_low_float "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/Filtre_FIR_PassBas_Flottant.m"
click node_gen_goertzel "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel.m"
click node_gen_22k "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel_22KHz.m"
click node_gen_22kvf "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel_22KHz_VF.m"
click node_gen_vf "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel_VF.m"
click node_audible "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignauxAudibles.m"
click node_sintable "https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSinTable.m"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_signalgen,node_fir1,node_fir2,node_firfloat,node_goertzel,node_user toneBlue
class node_board1,node_board2a,node_board2b,node_board2f,node_board4,node_codec toneAmber
class node_fixedcoef,node_floatcoef toneMint
class node_fir_matlab,node_fir_low_fixed,node_fir_low_float,node_gen_goertzel,node_gen_22k,node_gen_22kvf,node_gen_vf,node_audible,node_sintable toneRose
```

## Components

### Embedded exercises

- [Signal generator](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP1_GenSignauxAudible/main.c): `TP1_GenSignauxAudible/main.c`
- [FIR direct](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo1/main.c): `TP2_FIR_Algo1/main.c`
- [FIR delayed](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2/main.c): `TP2_FIR_Algo2/main.c`
- [FIR floating](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2_VFlottant/main.c): `TP2_FIR_Algo2_VFlottant/main.c`
- [Goertzel detector](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP4_Goertzel/main.c): `TP4_Goertzel/main.c`

### Board audio I/O

- [Board audio I/O](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP1_GenSignauxAudible/c6713dskinit.c): `TP1_GenSignauxAudible/c6713dskinit.c`
- [Board audio I/O](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo1/c6713dskinit.c): `TP2_FIR_Algo1/c6713dskinit.c`
- [Board audio I/O](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2/c6713dskinit.c): `TP2_FIR_Algo2/c6713dskinit.c`
- [Board audio I/O](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP2_FIR_Algo2_VFlottant/c6713dskinit.c): `TP2_FIR_Algo2_VFlottant/c6713dskinit.c`
- [Board audio I/O](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/TP4_Goertzel/c6713dskinit.c): `TP4_Goertzel/c6713dskinit.c`
- **AIC23 codec**

### Filter coefficients

- [Fixed FIR coefficients](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/Headers/FIR_COEF.h): `Headers/FIR_COEF.h`
- [Float FIR coefficients](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/Headers/FIR_COEF_VF.h): `Headers/FIR_COEF_VF.h`

### MATLAB experiments

- [FIR model](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/FIR.m): `MATLAB/FIR.m`
- [Fixed low-pass](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/Filtre_FIR_PassBas_Fixe.m): `MATLAB/Filtre_FIR_PassBas_Fixe.m`
- [Float low-pass](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/Filtre_FIR_PassBas_Flottant.m): `MATLAB/Filtre_FIR_PassBas_Flottant.m`
- [Goertzel signals](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel.m): `MATLAB/GenSignal_Goertzel.m`
- [22 kHz signals](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel_22KHz.m): `MATLAB/GenSignal_Goertzel_22KHz.m`
- [22 kHz fixed signals](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel_22KHz_VF.m): `MATLAB/GenSignal_Goertzel_22KHz_VF.m`
- [Fixed Goertzel signals](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignal_Goertzel_VF.m): `MATLAB/GenSignal_Goertzel_VF.m`
- [Audible signals](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSignauxAudibles.m): `MATLAB/GenSignauxAudibles.m`
- [Sine table](https://github.com/youssef-fd/real-time-dsp-on-ti-tms320c6713-dsk/blob/main/MATLAB/GenSinTable.m): `MATLAB/GenSinTable.m`

### Other components

- **Audio user**

## Connections

- Audio user → Signal generator: provides audio context
- Signal generator → Board audio I/O: initializes audio (evidence: `TP1_GenSignauxAudible/main.c`)
- Signal generator → Board audio I/O: outputs samples (evidence: `TP1_GenSignauxAudible/main.c`)
- FIR direct → Board audio I/O: initializes audio (evidence: `TP2_FIR_Algo1/main.c`)
- FIR direct → Board audio I/O: reads and outputs (evidence: `TP2_FIR_Algo1/main.c`)
- FIR delayed → Board audio I/O: initializes audio (evidence: `TP2_FIR_Algo2/main.c`)
- FIR delayed → Board audio I/O: reads and outputs (evidence: `TP2_FIR_Algo2/main.c`)
- FIR floating → Board audio I/O: initializes audio (evidence: `TP2_FIR_Algo2_VFlottant/main.c`)
- FIR floating → Board audio I/O: reads and outputs (evidence: `TP2_FIR_Algo2_VFlottant/main.c`)
- Goertzel detector → Board audio I/O: initializes audio (evidence: `TP4_Goertzel/main.c`)
- Goertzel detector → Board audio I/O: reads and outputs (evidence: `TP4_Goertzel/main.c`)
- Board audio I/O → AIC23 codec: configures audio hardware (evidence: `TP1_GenSignauxAudible/c6713dskinit.c`)
- Board audio I/O → AIC23 codec: configures audio hardware (evidence: `TP2_FIR_Algo1/c6713dskinit.c`)
- Board audio I/O → AIC23 codec: configures audio hardware (evidence: `TP2_FIR_Algo2/c6713dskinit.c`)
- Board audio I/O → AIC23 codec: configures audio hardware (evidence: `TP2_FIR_Algo2_VFlottant/c6713dskinit.c`)
- Board audio I/O → AIC23 codec: configures audio hardware (evidence: `TP4_Goertzel/c6713dskinit.c`)
