NXP S12ZVC User guide

Type
User guide
External Use
TM
Getting Started with the S12ZVC
Platform
S12 MagniVMixed-Signal MCU for CAN
Applications
TM
External Use |
1
Agenda
Introduction
Features
Block diagram
Device pinouts
Special modules/peripherals
VREG, HSCAN
SENT
16-bit timer, 16-bit PWM
DAC, ACMP
Security
Resets
TM
External Use |
2
Agenda
There are hands-on exercises for CAN, Timer, PWM, and DAC modules
For executing the hands-on exercises you will need:
An S12ZVC evaluation board
PC with CodeWarrior 10.5 or newer
Oscilloscope (optional)
Please refer to the companion folder
“S12ZVC_Getting_Started_exercises” for access to the files needed for
the CodeWarrior exercises
TM
External Use |
3
Introduction
The MC9S12ZVC family is a new member of the S12 MagniV product line integrating a battery level
(12 V) voltage regulator, supply voltage monitoring, high voltage inputs and a CAN physical
interface
Primarily targeted at CAN nodes like sensors, switch panels or small actuators
ffers various low-power modes and wake up management to address state of the art power
consumption requirements
The S12ZVC integration and features can also address high-reliability industrial applications
Offered for high temperature applications
AEC-Q100 Grade 0 (-40 °C to +150 °C ambient operating temperature range)
Enhanced performance, linear address space S12Z core
Integrates several key system components into a single device
Optimizes system architecture, achieves significant space and BOM savings
TM
External Use |
4
Features
64 or 48 pin LQFP-EP
S12Z core
192, 128, or 64
32 MHz bus frequency under 150°C, 2MHz over 150°C
1 to 2 kB of ECC EEPROM
4 to 8 kB of ECC RAM
Physical layer for HSCAN
2x high voltage inputs
Up to 2x SCI, 2x SPI, 1 IIC, SENT transmitter
4 to 8 16-bit timer channels (20 ns resolution)
TM
External Use |
5
Features (cont.)
Four 16-bit PWM channels (20 ns resolution)
10 to 16 ADC channels
8-bit DAC
2x Analog comparator
5 to 10 open drain 5V GPIO
4 pins with 25 mA sink capability
28 to 42 GPIO
TM
External Use |
6
Block diagram
TM
External Use |
7
Device pinouts
TM
External Use |
8
Device pinouts (cont.)
TM
External Use |
9
Special modules/peripherals
The S12VC device is perfect for functioning as a general purpose CAN node, and it
maximizes cost and space savings by having integrated several system components such
as:
12 V voltage regulator
CAN physical interface
SENT transmitter
16-bit timers and PWM
Digital to analog converter (DAC)
Analog comparator (ACMP)
TM
External Use |
10
S12ZVC VREG
Automotive voltage regulator
TM
External Use |
11
VREG
Allows the designer to connect the automotive battery directly to the device voltage
regulator
VSUP pin can be routed via an internal divider to the internal ADC for monitoring
VSUP can also be routed to a comparator to generate high or low voltage interrupts to the
MCU
TM
External Use |
12
S12ZVC CAN physical layer
TM
External Use |
13
CAN physical layer
The CAN physical layer provides a physical layer for high-speed CAN area network communication
in automotive applications
It serves as an integrated interface to the CAN bus lines for the internally connected MSCAN
controller through the pins CANH, CANL and SPLIT
The CAN Physical Layer is designed to meet the CAN physical layer ISO 11898-2 and ISO 11898-5
standards
It provides these distinctive features:
High-speed CAN interface (up to 1 Mbit/s baud rate)
ISO 11898-2 and ISO 11898-5 compliant for 12V battery systems
SPLIT pin driver for bus recessive level stabilization
Low-power mode with remote CAN wake up
Configurable wake up pulse filtering
Over current shutdown
Voltage monitoring
TM
External Use |
14
CAN physical layer (cont.)
TM
External Use |
15
CAN hands-on exercise
S12ZVC_Getting_Started_exercise/CAN
TM
External Use |
16
CAN hands-on exercise
An oscilloscope or a CAN tool is needed for this exercise:
1. Create a new project in CodeWarrior
2. Add the CAN code
3. Download / debug the code
4. Run the code
5. Use an oscilloscope or a CAN tool to verify the CAN message frame is being sent
6. Modify the CAN message and the CAN ID of the frame being sent; verify them on an
oscilloscope or CAN tool
TM
External Use |
17
CAN hands-on exercise (step 1)
Create a new project in CodeWarrior
1. File -> New -> Bareboard Project
2. Name the project, click next
3. Select device: S12Z -> S12ZVC Family -> MC9S12ZVC192
4. Debug connection: Select “Open Source BDM”
5. Build options are left as default, click next
6. Rappid is not used, click Finish
TM
External Use |
18
CAN hands-on exercise (step 1)
TM
External Use |
19
CAN hands-on exercise (step 1)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63

NXP S12ZVC User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI