ibm PCjr — 2-099

demodulator timings are tailored to the needs of the system. Programming Considerations The serially-encoded word is software de-serialized by the 8088 processor on the system unit. The leading edge of the start bit will generate a non-maskable interrupt (NMI). Once the processor enters the NMI routine to handle the deserialization, the keyboard-data line is sampled and the processor waits to sample the trailing edge of the start bit. When the trailing edge of the start bit is sampled, the processor will wait for 310 JLS and sample the first half of the first data bit. This delay causes the processor to sample in the nominal center of the first half of the first data bit.

The processor then samples the keyboard data every half- bit cell-time. The sampling interval is 220 JLS. The processor samples eacrr:half -bit-sample 5 times and will determine the logical level of the sample by majority rule. This enables the processor to discriminate against transient glitches and to filter out noise. The 8088 processor utilizes one 8255 PPI bit (PORT C BIT 6) and shares one 8253 timer channel (CHANNEL 1) to do the software de-serializationwf the keyboard data. See the "Cordless Keyboard" in this section for more information on the data-transmission proto cal.

Detectable Error Conditions Errors Cause Phase Errors The 1st half of the bit-cell sample is not equal to the inverse of the 2nd half of the bit-cell sample. Parity Errors The received encoded word did not maintain odd parity. Infra-Red Link 2-99