• Devkit-S12XE PORTJ2 - Connection Bug Fixing

    Hello,   Devkit-S12XE includes a bug on the PORT J2. This document shows the correct connection. The pin designation in the schematic, QSG, and pin markings on the board does not correspond to the con...
    Diana Batrlova
    last modified by Diana Batrlova
  • LAMA's S12XE unofficial examples

    I've just went through my PC and put some examples here. ( I made them "a few" days ago.) The files are presented with extension BMP because of some firewals.   AN3490.pdf DOC-XEP100-MMC-Memory_Map-Common_Map-...
    lama
    last modified by lama
  • PWM example code for S12ZVL

    This example shows a few possible configurations of the S12PWM8B8CV2 PWM module. Five PWM channels are configured with different clock source, polarity, alignment, period and duty-cycle.   Four clock sourc...
    Daniel Martynek
    last modified by Daniel Martynek
  • How to get device ID and write program once field without programming application to the S12Z device in the CodeWarrior (Eclipse).

    How to get device ID and write program once field without programming application to the S12Z device in the CodeWarrior (Eclipse).   Even the datasheet does not present the device ID it can be read at address 0...
    lama
    last modified by Adrian Puga Candelario
  • S12ZVM clock module and PLL configuration - SW examples

    In the attached zip file you can find three software examples demonstrating clock module and PLL configuration on MagniV device MC9S12ZVM. The examples are made in CodeWarrior IDE v10.6 (Eclipse). The main.c source ...
    iggi
    last modified by Daniel Martynek
  • Autonomous Clock Trimming SW example for MagniV devices

    In the ZIP file you can find two CodeWarrior projects, one for S12ZVM and other for S12ZVL device, demonstrating the trimming of Autonomous Clock (ACLK - trimmable internal RC-Oscillator) which can be selected as cloc...
    iggi
    last modified by Adrian Puga Candelario
  • High Voltage Input (HVI) SW examples for MagniV devices

    Attached zip file contains three Code Warrior project for MagniV devices (S12ZVM, S12ZVL and S12ZVC). Each of them demonstrates usage of High Voltage Input feature. Find detailed description in the header of main.c ...
    iggi
    last modified by Adrian Puga Candelario
  • S12XD, S12XE - External BUS design - Addendum To AN2708

    Dear reader,   There is extended information provided in the attached document. it contains detailed description "how-to", example design, detailed memory maps and code examples.   Also tested example proj...
    lama
    last modified by Adrian Puga Candelario
  • Software for S12ZVM motor control kits

    Officially we offer two S12ZVM motor control kits: MTRCKTSBNZVM128: 3-phase Sensorless BLDC Development Kit with S12 MagniV S12ZVM MTRCKTSPNZVM128: 3-phase Sensorless PMSM Development Kit with S12 MagniV® MC9S1...
    Radek Sestak
    last modified by Radek Sestak
  • S12X_Interrupt_catcher (catch all unexpected interrupts)

    Interrupt catcher you can use for debugging or directly in your software. Few notes: 1. You should replace lines for expected interrupt by your interrupts routines as in example of SCI0 interrupt routine. 2. All in...
    Radek Sestak
    last modified by Radek Sestak
  • S12G Examples Pack

    Example code pack for S12G contains simple code examples how to initialize and how to use MCU module/feature. List of examples: G128-API_wakeup_from_Stop_Mode G128-Clock and COP examples G128-Interrupt_catcher-CW5...
    Radek Sestak
    last modified by Radek Sestak
  • API example code for S12G

    You can find here two example codes for API timer. G240-API-CW51.ZIP contains example code for trimming API timer to 10kHz (API isn't factory trimmed). G240-API+STOP-CW51.ZIP contains example code for enter to stop ...
    Radek Sestak
    last modified by Radek Sestak
  • S12X Examples Pack

    Example code pack for S12X contains simple code examples that show how to initialize and how to use MCU module/feature.   List of examples: S12XE_PLL - include S12XE_iPLL_Calculator XDP512 - ECT measuring of p...
    Radek Sestak
    last modified by Radek Sestak
  • S12Z Interrupt catcher for unexpected interrupts

    Interrupt catcher example code catches all unexpected interrupts. It can be used for debugging or directly in the application software. The Machine Exception routine is used here as example of expected interrupt. &#...
    Radek Sestak
    last modified by Radek Sestak
  • S12Z voltage measurement

    The ADC measurement is always relative – relative to your voltage reference. The most of the applications don't allow to use accurate and expensive voltage reference. In that case, VDDA is used as the reference...
    Radek Sestak
    last modified by Radek Sestak
  • S12Z Flash example code

    Here is the example code demonstrating erase/write/read of internal Flash module integrated into MagniV devices such as S12ZVM, S12ZVC, S12ZVL etc.   Find detailed description in the project's main.c file. ...
    Radek Sestak
    last modified by Radek Sestak
  • S12Z EEPROM example code

    Here is the example code demonstrating erase/write/read of internal EEPROM module integrated into MagniV devices such as S12ZVM, S12ZVC, S12ZVL etc.   Find detailed description in the project's main.c file. &#...
    Radek Sestak
    last modified by Radek Sestak
  • Single / double bit RAM ECC error example code at S12ZVC

    The example code shows how to invoke single or double bit RAM ECC error at S12Z devices.   Some basic overview about S12Z ECC codes may be found in thread AM/FLASH ECC Error handling .
    Radek Sestak
    last modified by Radek Sestak
  • S12Z Protection Override

    This example: 1. write unprotected P-Flash area 2. protect target P-Flash area 3. tries to write protected P-Flash area 4. call Protection Override command for temporary modify P-Flash protection 5. write into tempora...
    Radek Sestak
    last modified by Radek Sestak
  • S12Z - Simulating ECC errors at RAM by debug access

    For debug purposes, it is possible to read and write the user data and the ECC value directly from/to the SRAM memory. For these debug accesses a register interface is available.   By the debug access and wri...
    Radek Sestak
    last modified by Radek Sestak