2261
Date
1. The MC9S12Dxx family with the LQFP package has
pins.
2. The MC9S12Dxx family with the QFP package has
pins.
3. In the MC9S12Dxx family, how many pins are assigned to
Port A?
4. In the MC9S12Dxx family, how many pins are assigned to
Port B?
5. In the MC9S12Dxx family, how many pins are assigned to
Port E?
6. In the MC9S12Dxx family with the LQFP package, how
many pins are assigned
to Port H?
7. In the MC9S12Dxx family, how many pins are assigned to
Port J?
8. Upon reset, all the bits of a port are configured as
(input, output).
9. Explain the role of DDRx in I/O operations.
10. Write a program to get 8-bit data from PORTA and send it
to ports PORTB and PORTH.
11. Which pins are for RxD1 and TxD1 in the 80-pin QFP
package?
12. Give the address locations in the register area assigned to
Port A, Port B and Port E and their DDR registers for the
HCS12.
13. Which ports of the HCS12 are bit-addressable?
14. What is the advantage of bit-addressability for HCS12
ports?
15. When \"BSET PORTB %00100001\" is executed, which
bit, or bits is/are set?
16. Write a program to toggle PB2 and PB5 continuously
without disturbing the rest of the bits.
17. Write a program to monitor PH4. When it is low send a
22H to PORTB and an 88H if it is high.