III - Advanced Project » History » Version 24

COLIN, Tony, 12/14/2015 08:59 AM

1 1 COLIN, Tony
h1. III - Advanced Project
2 1 COLIN, Tony
3 1 COLIN, Tony
{{>toc}}
4 1 COLIN, Tony
5 1 COLIN, Tony
h2. 1. Adapting project to elementary task
6 1 COLIN, Tony
7 1 COLIN, Tony
See [[Wiki#"3. Creation of a simple MPLAB X IDE project"|Tutorial page]] for project bases
8 1 COLIN, Tony
9 24 COLIN, Tony
task_example.c
10 24 COLIN, Tony
task_example.h
11 24 COLIN, Tony
tasks.h
12 24 COLIN, Tony
task_cmd.c
13 24 COLIN, Tony
!task_cmd.png!
14 24 COLIN, Tony
main.c
15 24 COLIN, Tony
!main.png!
16 24 COLIN, Tony
17 24 COLIN, Tony
---
18 16 COLIN, Tony
19 1 COLIN, Tony
h2. 2. Integration of a Reed-Solomon encoder/decoder
20 1 COLIN, Tony
21 3 COLIN, Tony
"RS Code Website":http://rscode.sourceforge.net/
22 3 COLIN, Tony
23 1 COLIN, Tony
h3. 2.1 Presentation of Reed-Solomon
24 1 COLIN, Tony
25 1 COLIN, Tony
h3. 2.2 Task Example
26 1 COLIN, Tony
27 16 COLIN, Tony
28 1 COLIN, Tony
h2. 3. Displaying results
29 1 COLIN, Tony
30 1 COLIN, Tony
h3. 3.1 In simulation
31 1 COLIN, Tony
32 17 COLIN, Tony
p=. !CodingWin3.png!
33 20 COLIN, Tony
*Message of 87 characters*
34 1 COLIN, Tony
35 17 COLIN, Tony
p=. !CodingWin2.png!
36 20 COLIN, Tony
*Code of adding errors*
37 1 COLIN, Tony
38 17 COLIN, Tony
p=. !UART1.png!
39 20 COLIN, Tony
*Checking Output UART Window*
40 1 COLIN, Tony
41 17 COLIN, Tony
p=. !CodingWin1.png!
42 20 COLIN, Tony
*Displayed result*
43 17 COLIN, Tony
44 17 COLIN, Tony
h3. 3.2 On board
45 17 COLIN, Tony
46 15 COLIN, Tony
|_.-                    |_.Char       |_.Code ASCII  |_.Hexadecimal |_. Binary       |
47 15 COLIN, Tony
|_.Codeword             |=. 2         |=. 50         |=. 0x32       |   0b00110010   |
48 2 COLIN, Tony
|_.Erroneous Codeword   |=. 3         |=. 51         |=. 0x33       |   0b00110011   |
49 15 COLIN, Tony
50 7 COLIN, Tony
!LEDs_resized.png! !LEDs_error_resized.png! !LEDs_resized.png!
51 22 COLIN, Tony
__________________ *a. Codeword : 0bXX110010* ________________________ *b. Erroneous codeword : 0bXX110011* ____________________ *c. Corrected codeword : 0bXX110010* ______________
52 5 COLIN, Tony
53 1 COLIN, Tony
54 6 COLIN, Tony
h2. 4. Measurement of encoding/decoding time
55 6 COLIN, Tony
56 23 COLIN, Tony
p=. !Clock1.png!
57 23 COLIN, Tony
*1000 ticks per milliseconds*
58 1 COLIN, Tony
59 23 COLIN, Tony
p=. !Clock2.png!
60 23 COLIN, Tony
*Time measurement of data encoding*
61 23 COLIN, Tony
62 23 COLIN, Tony
p=. !Clock3.png!
63 23 COLIN, Tony
*Printing clock data*
64 23 COLIN, Tony
65 1 COLIN, Tony
p=. !Time_RS_resized.PNG!
66 23 COLIN, Tony
*Chart of Reed Solomon time measurement*