Pt-51 Test Procedures
Pt-51 Test Procedures
by
Varun Warrier
Objective
• To test the peripherals of the microcontroller
and the hardware on the Pt-51 board, i.e.
– LEDs
– Switches
– PCA Module
– SPI
– UART
– LCD display
– Port Pins
Test Procedure
• Putting the switches in various positions from
0 to 7 (bit values) will test each of the
peripherals
• The switches are connected to pins P1.0-P1.3
of the microcontroller
• The switches corresponding to P1.0 to P1.2
will be used for the test, with P1.0 being the
LSB and P1.2 being the MSB
• Ongoing test and results displayed on LCD
Test Procedure
Key Position (P1.2-P1.0) Tested Peripheral
000 Timers
001 PWM module
010 Counter Module
011 SPI Module *
100 UART Module **
101 LCD Display
110 Clear Screen
All others Timers