Claims
- 1. A data processing system comprising:
- a serial-to-parallel interface logic circuit having a serial data port, a parallel address bus, and a parallel data bus, said serial data port adapted for communicating with a serial data port of processing unit, wherein a first data value communicated on said serial data port of said processing is presented as a parallel data value on said parallel data bus, said serial-to-parallel interface logic circuit providing an address on said parallel address bus of said serial-to-parallel interface logic circuit, said parallel data and address busses operable communicating with a bus device, and wherein said serial-to-parallel interface logic includes:
- a shift register for receiving a serial data value, said shift register having a parallel output bus;
- an address logic circuit operable for receiving an address data value from said parallel bus of said shift register, said address data value capable of initializing a counter; and
- a control logic circuit operable for receiving a command value from said parallel output bus of said shift register, wherein said control logic circuit configures said serial-to-parallel interface logic circuit to reflect an operation to be performed.
- 2. The data processing system of claim 1 wherein said serial-to-parallel interface logic circuit further comprises:
- a clock sequencing logic circuit coupled to said processing unit to receive a serial clock signal, said clock sequencing logic providing a first clock signal for clocking said shift register;
- an output data buffer for receiving a second data value on said parallel data bus of said serial-to-parallel interface logic circuit, said output data buffer operable for latching said second data value on receipt of said first clock signal from said clock sequencing logic, said output data buffer asserting said second data value on said serial data port of said serial-to-parallel interface logic circuit.
- 3. The data processing system of claim 2 wherein said serial-to-parallel interface logic further comprises:
- an input data buffer for receiving a download data value from said parallel output bus of said shift register, said input data buffer providing said download data value on said parallel data bus of said serial-to-parallel interface logic circuit, wherein said input data buffer is operable for latching said download data value.
- 4. A microcontroller system comprising:
- a microcontroller having at least one parallel input/output ("I/O") bus, and a serial data port;
- a serial-to-parallel interface logic circuit having a serial data port, a parallel address bus, and a parallel data bus, said serial data port adapted for communicating with said serial data port of said microcontroller, wherein a first data value communicated on said serial data port of said microcontroller is presented as a parallel data value on said parallel data bus, said serial-to-parallel interface logic circuit providing an address on said parallel address bus of said serial-to-parallel interface logic circuit;
- a bus device adaptable for receiving said address on said parallel address bus of said serial-to-parallel interface logic circuit, said bus device adapted for accessing said data bus to communicate said parallel data value;
- a shift register for receiving a serial data value, said shift register having a parallel output bus;
- a clock sequencing logic circuit coupled to said microcontroller to receive a serial clock signal, said clock sequencing logic providing a first clock signal for clocking said shift register;
- an output data buffer for receiving a second data value on said parallel data bus of said serial-to-parallel interface logic circuit, said output data buffer operable for latching said second data value on receipt of said first clock signal from said clock sequencing logic, said output data buffer asserting said second data value on said serial data port of said serial-to-parallel interface logic circuit;
- an address logic circuit operable for receiving an address data value from said parallel bus of said shift register, said address data value capable of initializing a counter;
- a control logic circuit operable for receiving a command value from said parallel output bus of said shift register, wherein said control logic circuitry configures said serial-to-parallel interface logic circuit to reflect an operation to be performed; and
- an input data buffer for receiving a download data value from said parallel output bus of said shift register, said input data buffer providing said download data value on said parallel data bus of said serial-to-parallel interface logic circuit, wherein said input data buffer is operable for latching said download data value.
- 5. The microcontroller system of claim 4 wherein said control logic circuit provides a plurality of input data buffer control signals, and said input data buffer is operable for latching said download data value in response to said plurality of input data buffer control signals.
- 6. A method for communicating with a serial-to-parallel interface logic circuit comprising the steps of:
- initializing said serial-to-parallel interface logic circuit;
- sending a plurality of address bits to said serial-to-parallel interface logic circuit wherein at least a portion of said plurality of address bits comprises an address in an address space;
- asserting a first command bit of a command value to select one of a read operation and a write operation;
- sending said command value to said serial-to-parallel interface logic circuit;
- performing one of said read operation and said write operation in response to the first command bit;
- sending a reset signal to serial-to-parallel interface logic circuit, and wherein said first command bit indicates the write operation to be performed, and said write operation writes at least a first data bit to said serial-to-parallel interface logic circuit, said write operation writing a first data value to said serial-to-parallel interface logic circuit in byte increments, wherein said command value is a command byte, and wherein said step of performing said write operation further comprises the steps of:
- loading a first nibble of said command byte with a second nibble of a first data byte;
- sending said command byte to said serial-to-parallel interface logic circuit;
- loading a first nibble of a first output byte with a second nibble of said first data byte, and a second nibble of said first output byte with a first nibble of a second data byte;
- sending said first output byte to said serial-to-parallel interface logic circuit;
- loading a first nibble of the second output byte with a second nibble of said second data byte, and a second nibble of said second output byte with the first nibble of a third data byte;
- sending said second output byte to said serial-to-parallel interface logic circuit; and
- sending a plurality of next output bytes to said serial-to-parallel interface, wherein a first nibble of a next output byte is loaded with a second nibble of a previous data byte, and a second nibble of said next output byte as loaded with a first nibble of a next data byte.
Parent Case Info
This is a continuation of application Ser. No. 08/827,744, now issued filed Apr. 10, 1997 U.S. Pat. No. 5,812,881.
US Referenced Citations (11)
Continuations (1)
|
Number |
Date |
Country |
Parent |
827744 |
Apr 1997 |
|