III - Advanced Project » History » Version 23

Version 22 (COLIN, Tony, 12/13/2015 09:15 PM) → Version 23/59 (COLIN, Tony, 12/13/2015 09:27 PM)

h1. III - Advanced Project

{{>toc}}

h2. 1. Adapting project to elementary task

See [[Wiki#"3. Creation of a simple MPLAB X IDE project"|Tutorial page]] for project bases

h2. 2. Integration of a Reed-Solomon encoder/decoder

"RS Code Website":http://rscode.sourceforge.net/

h3. 2.1 Presentation of Reed-Solomon

h3. 2.2 Task Example

h2. 3. Displaying results

h3. 3.1 In simulation

p=. !CodingWin3.png!
*Message of 87 characters*

p=. !CodingWin2.png!
*Code of adding errors*

p=. !UART1.png!
*Checking Output UART Window*

p=. !CodingWin1.png!
*Displayed result*

h3. 3.2 On board

|_.- |_.Char |_.Code ASCII |_.Hexadecimal |_. Binary |
|_.Codeword |=. 2 |=. 50 |=. 0x32 | 0b00110010 |
|_.Erroneous Codeword |=. 3 |=. 51 |=. 0x33 | 0b00110011 |

!LEDs_resized.png! !LEDs_error_resized.png! !LEDs_resized.png!
__________________ *a. Codeword : 0bXX110010* ________________________ *b. Erroneous codeword : 0bXX110011* ____________________ *c. Corrected codeword : 0bXX110010* ______________

h2. 4. Measurement of encoding/decoding time

p=. !Clock1.png!
*1000 ticks per milliseconds*

p=.
!Clock2.png!
*Time measurement of data encoding*

p=.
!Clock3.png!
*Printing clock data*


p=. !Time_RS_resized.PNG!
*Chart of Reed Solomon time measurement*