III - Advanced Project » History » Version 18

Version 17 (COLIN, Tony, 12/13/2015 09:04 PM) → Version 18/59 (COLIN, Tony, 12/13/2015 09:11 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!
p=. Message of 87 characters representing 87 bytes



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



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



p=. !CodingWin1.png!
p=. 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

!Clock1.png!
!Clock2.png!
!Clock3.png!

p=. !Time_RS_resized.PNG!