Motorola CME-12B/BC, 68HC12BC32, 68HC12B32 manual Tables, LCD Command Codes, LCD Character Codes

Page 17

TABLES

TABLE 1. LCD Command Codes

Command codes are used for LCD setup and control of character and cursor position. All command codes are written to LCD panel address $B5F0. The BUSY flag (bit 7) should be tested before any command updates to verify that any previous command is completed. A read of the command address $B5F0 will return the BUSY flag status and the current display character location address.

Command

Clear Display, Cursor to Home

Cursor to Home

Entry Mode:

Cursor Decrement, Shift off

Cursor Decrement, Shift on

Cursor Increment, Shift off

Cursor Increment, Shift on

Display Control:

Display, Cursor, and Cursor Blink off Display on, Cursor and Cursor Blink off Display and Cursor on, Cursor Blink off Display, Cursor, and Cursor Blink on

Cursor / Display Shift: (nondestructive move) Cursor shift left

Cursor shift right

Display shift left

Display shift right

Display Function (default 2x40 size) Character Generator Ram Address set Display Ram Address set

Code $01 $02

$04 $05 $06 $07

$08 $0C $0E $0F

$10 $14 $18 $1C $3C $40-$7F $80- $FF

Delay

1.65ms

1.65ms

40us

40us

40us

40us

40us

40us

40us

40us

40us

40us

40us

40us

40us

40us

40us

TABLE 2. LCD Character Codes

$20 Space $21 ! $22 “ $23 # $24 $ $25 % $26 & $27 ‘ $28 ( $29 ) $2A * $2B + $2C ,

$2D - $2E . $2F / $30 0 $31 1 $32 2 $33 3 $34 4 $35 5 $36 6 $37 7 $38 8 $39 9

$3A : $3B ; $3C { $3D = $3E } $3F ? $40 Time $41 A $42 B $43 C $44 D $45 E $46 F

$47

G

$54

T

$61

a

$48

H

$55

U

$62

b

$49

I

$56

V

$63

c

$4A

J

$57

W

$64

d

$4B

K

$58

X

$65

e

$4C

L

$59

Y

$66

f

$4D

M

$5A

Z

$67

g

$4E

N

$5B

[

$68

h

$4F

O

$5C

Yen

$69

i

$50

P

$5D

]

$6A

j

$51

Q

$5E

^

$6B

k

$52

R

$5F

_

$6C

l

$53

S

$60

`

$6D

m

$6E n $6F o $70 p $71 q $72 r $73 s $74 t $75 u $76 v $77 w $78 x $79 y $7A z

$7B { $7C $7D } $7E > $7F <

17

Image 17
Contents CME-12B/BC Contents Board Startup Installing the SoftwareGetting Started Software Development Support SoftwareCreating source code TutorialAS12 HELLO.ASM -LHELLO Assembling source codeRunning your application ORG $1000 to ORG $8000 Programming Flash EepromOFF Config SwitchMemory MAP MEM-SEL Jumpers Config SwitchLcdport Ports and ConnectorsKeypad GNDGND CAN-H CAN-L McuportCanport Busport COM1 Serial PortBDM-IN ResetEVU Compatibility Jumpers Bgnd GNDTroubleshooting Utilities Tips and SuggestionsLCD Character Codes LCD Command CodesTables Bulk Bug12 Monitor Commands

68HC12B32, CME-12B/BC, 68HC12BC32 specifications

The Motorola 68HC12BC32, CME-12B/BC, and 68HC12B32 are microcontroller units (MCUs) that are part of the renowned HC12 series, which gained popularity in embedded system designs due to their versatility, robust performance, and comprehensive feature set. These MCUs are widely used in automotive applications, industrial control systems, and various consumer electronics due to their advanced capabilities.

One of the main features of the 68HC12BC32 is its 16-bit architecture, which allows for efficient processing and greater precision in calculations compared to 8-bit counterparts. This feature is crucial for applications requiring high-performance processing, such as real-time control systems. The processor operates at clock speeds of up to 25 MHz, providing the computational power necessary for complex operations.

The 68HC12MCUs include various on-chip memory options, such as ROM, RAM, and EEPROM. For instance, the 68HC12BC32 comes with up to 32 KB of ROM and 1 KB of RAM, along with 512 bytes of EEPROM, making it suitable for applications that require data retention even when the power is turned off. The presence of on-chip memory significantly reduces the need for external components, simplifying system design and enhancing reliability.

Moreover, these microcontrollers feature a rich set of input/output (I/O) capabilities, including multiple general-purpose I/O lines, timer/counter modules, and analog-to-digital converters (ADCs). The integration of these components allows for flexible interfacing with a multitude of sensors and actuators, enabling designers to create sophisticated applications without needing extensive external circuitry.

The embedded communication interfaces, such as SPI (Serial Peripheral Interface), I2C (Inter-Integrated Circuit), and CAN (Controller Area Network), are vital for enabling communication between devices in multiprocessor systems. This capability is particularly beneficial in automotive applications, where seamless data exchange is critical for tasks such as engine control and diagnostics.

Power management features in the 68HC12 series enhance its suitability for battery-powered applications. The ability to enter low-power modes helps extend battery life, making these microcontrollers ideal for portable devices.

In summary, the Motorola 68HC12BC32, CME-12B/BC, and 68HC12B32 microcontrollers are robust and flexible MCUs that offer a combination of advanced processing capabilities, extensive memory options, versatile I/O functionality, and efficient communication interfaces. These characteristics make them well-suited for various applications, from automotive and industrial systems to consumer electronics, ensuring they remain relevant in the evolving landscape of embedded technology.