Motorola DG128, 68HC912D60, CMD912x, DT128 manual Ports and Connectors, PRU Port

Page 15

PORTS AND CONNECTORS

PRU PORT

The Port Replacement Unit (PRU) provides simulation of the HC12 bus and control ports A, B, E, and K so expanded memory can be used for single-chip application development. PRU operation is enabled with external memory by CONFIG Switch 1 ON. The PRU also provides control of the external memories and peripherals on the CMD912x board. Care should be taken not to violate PRU operation constraints or user code operation could be rendered inoperable until a RESET is performed.

PRU Ports A, B, E, and K are simulated ports due to the different drive characteristics of the PRU logic device. Following are the characteristic differences between the HC12 and PRU ports:

1)The PRU will drive ports to TTL levels with 24ma of source current. Greater than the HC12.

2)The PRU provides pull-up resistance of 47K ohms to +5V is applied to all PRU ports. The HC12 allows this to be optioned on input ports.

3)The PRU will only drive outputs high to +4V. The PRU port pull-up resistors raise the output level to +5V with minimal drive.

4)PRU port inputs will indicate logic high if not driven due to the pull-up resistors.

The PRU will provide HC12 internal resource memory mapping support with constraints. The user should be cautious to stay within the bounds of the constraints for proper operation of the board. PRU constraints:

1)The HC12 R/W, LSTRB, and ECLK signals must be enabled for correct operation of the PRU.

2)The HC12 MODE register must have the IVIS, EME, and EMK bits enabled for correct PRU operation.

3)The IVIS bit in the HC12 MODE register must be enabled prior to any HC12 internal resource map changes from default locations.

4)HC12 internal Ram block (INITRM register) cannot be moved above $4000 hex.

5)HC12 internal Register block (INITRG register) cannot be moved above $8000 hex and is treated as a 2K byte memory space.

6)HC12 internal EEprom block (INITEE register) is treated as a 4K Byte memory space.

15

Image 15
Contents CMD912x Contents Installing the Software Getting StartedBoard Startup Software Development Support SoftwareCreating source code TutorialAS12 HELLO.ASM -LHELLO Assembling source codeRunning your application #$7FE Programming Flash EepromBDM Operation PM12DP256 Memory Map Memory MapsPeripheral Area PM12DG128 / PM12DT128 Memory MapPeripheral Area see note 2 below PM12D60 Memory MapOption Switches Config SwitchCOM Switch PM12D60 Mode SwitchPRU Port Ports and ConnectorsMcuport PRU Port ConnectorBusport Analog Port COM1COM2 Can 1 4 Port Connections CAN1 4 PortsKeypad LcdportBDM Port TB1 and J6 PowerTroubleshooting Utilities Tips and SuggestionsLCD Command Codes TablesLCD Character Codes Bulk Mon12 Monitor CommandsOther O Signal Connection ReferencePS4/MIOS