August 2008
Beginner to intermediate
304 pages
6h 2m
English
• PSP functions and test system
• Comparison of parallel and serial links
The parallel slave port (PSP) allows an external controller to initiate an 8-bit data exchange with the PIC MCU. This method of data exchange is compared with the serial ports.
In the example in Figure 3.10 a master ‘877 is feeding data to a slave chip of the same type. Arbitrary data are set on the DIP switch at Port B of the master. The internal pull-ups available on these pins are activated in the master program to avoid the need for external resistors on the switches. The test data are transferred to Port C and presented to the slave Port C pins (Listing 3.10). The slave port is already enabled via E0 (!CS ...
Read now
Unlock full access