diff --git a/MoodleDocs/FondamentauxASM.pdf b/MoodleDocs/FondamentauxASM.pdf new file mode 100644 index 0000000..5922e39 Binary files /dev/null and b/MoodleDocs/FondamentauxASM.pdf differ diff --git a/MoodleDocs/PM0056.pdf b/MoodleDocs/PM0056.pdf new file mode 100644 index 0000000..aba06d2 Binary files /dev/null and b/MoodleDocs/PM0056.pdf differ diff --git a/MoodleDocs/PjtKEIL_StepSon.zip b/MoodleDocs/PjtKEIL_StepSon.zip new file mode 100644 index 0000000..d81597c Binary files /dev/null and b/MoodleDocs/PjtKEIL_StepSon.zip differ diff --git a/MoodleDocs/Signal.m b/MoodleDocs/Signal.m new file mode 100644 index 0000000..b88fee7 --- /dev/null +++ b/MoodleDocs/Signal.m @@ -0,0 +1,38 @@ +clc +clear + +N = input('Nombre d''échantilllons pour ce signal : '); +Frel = input('Fréquence normalisée (nombre de périodes dans la durée totale) : '); +Ph0 = input('Phase a l''origine (en degrés) : '); +Ph0 = Ph0 * pi / 180.0; % a present en radian + +Ampl = 2048; +Offset = 2048; +%% Création du fichier .asm + +fileID = fopen(['Signal.asm'], 'w'); +fprintf(fileID,'\tAREA Signal, DATA, READONLY\n'); +fprintf(fileID,'\texport LeSignal\n'); + +fprintf(fileID,'LeSignal\n'); + +for i = 1: N + % fonction a modifier en fonction des besoins + Sig(i) = Offset + Ampl * cos( 2*pi*Frel*(i-1)/N + Ph0 ); + % arrondi + iSig = int16(Sig(i)); + % bornage du signal similaire a la sortie brute de l'ADC 12 bits + if ( iSig < 0 ) + iSig = 0; + end + if ( iSig > 4095 ) + iSig = 4095; + end + + fprintf(fileID,'\tDCW\t0x%04x\t; %2d %4d %7.5f\n',iSig, i-1, iSig, double(iSig) / 4096.0 ); + +end + +fprintf(fileID,'\tEND\n'); +fclose(fileID); +plot(Sig); \ No newline at end of file diff --git a/MoodleDocs/StepDebute_1.pdf b/MoodleDocs/StepDebute_1.pdf new file mode 100644 index 0000000..b407588 Binary files /dev/null and b/MoodleDocs/StepDebute_1.pdf differ diff --git a/MoodleDocs/StepDebute_2.pdf b/MoodleDocs/StepDebute_2.pdf new file mode 100644 index 0000000..505e4e9 Binary files /dev/null and b/MoodleDocs/StepDebute_2.pdf differ diff --git a/MoodleDocs/Step_DFT.pdf b/MoodleDocs/Step_DFT.pdf new file mode 100644 index 0000000..38fc053 Binary files /dev/null and b/MoodleDocs/Step_DFT.pdf differ diff --git a/MoodleDocs/Step_Jeu_Son.pdf b/MoodleDocs/Step_Jeu_Son.pdf new file mode 100644 index 0000000..c3969d9 Binary files /dev/null and b/MoodleDocs/Step_Jeu_Son.pdf differ diff --git a/MoodleDocs/liensUtiles.txt b/MoodleDocs/liensUtiles.txt new file mode 100644 index 0000000..e69de29 diff --git a/rapport.md b/rapport.md deleted file mode 100644 index db074e3..0000000 --- a/rapport.md +++ /dev/null @@ -1,20 +0,0 @@ -# Rapport CHTI de NOM1 et NOM2 grpX - - -Si vous éditez ce rapport avec visual code studio faites CTRL+K V pour visualiser. - -> TODO Changez vos nomsdans le titres - -Un exemple de [lien interne vers README](README) - -D'équation latex $\hat{S}[n] = \sum s[k] e^{i.\omega.k T_e. n \frac{F_e}{M}}$ - -Ce lien externe [vers une doc de markdown](https://www.markdownguide.org) - - -# Signal - - -# Elec - -# Logiciel