This lab extended
lab 1 (interfacing two MSV30262-SKP boards via an Infrared (IR)
Link) by making the link run
faster, and operate in duplex.
Requirements
Changes to the Requirements (from lab 1) are
in bold lettering.
Req. 1
The code generated is written in C for the Renesas MSV30262-SKP
Req. 2
Both boards should run the same code
Req. 3
The serial communications with the PC should operate at
19200 baud 8,N,1
Req. 4
HyperTerm will be used to transmit and receive characters (you
can run it on one PC with two serial ports, but with two
HyperTerm applications open).
Req. 5
The general operation will be that a character will be typed in
a HyperTerm window, transmitted via RS-232 link to one board,
transmitted via IR link to another board, then transmitted via
RS-232 link to another HyperTerm window. This transmission is
bi-directional.
Req. 6
Transmit via IR with three start bits, eight data
bits, one parity bit (odd), and two stop bits.
Req. 7
Transmit via IR all values between 0x00 and 0xFF, including ACK
and NAK
Req. 8
Each IR transmitted byte should be acknowledged. The receiving
board should acknowledge a valid transmission with a NAK
character (0x06). If the transmission is invalid, acknowledge
with a NAK (0x15).
Req. 9
A valid IR transmission will be characterized by the correct
number and type of start, data, parity, and stop bits.
Req. 10
A valid IR transmission will have the correct parity.
Req. 11
Each byte transmitted via IR should be acknowledged within
0.01 seconds.
Req. 12
The LCD does not need to show characters, but can be used
during debug.
Req. 13
Use the Vishay IR hardware provided by the professor.
Req. 14
The minimum transmission distance is 1.5 meters .
Req. 15
The Vishay IR hardware should be powered by the Renesas boards.
Req. 16
The PC will send one character every 0.01 seconds (you will
need queues to transmit the data fast enough). |