• How to use const or enum in struct?

    Hi, How to use const in struct? struct SDCardState {    const uint16_t initTimeout=2000;      enum uint8_t CardType {       CardTypeSD1,  &#...
    Aaron Lee
    last modified by Aaron Lee
  • Regarding RAM double bit ECC error handling

    Hi,   I am using S12ZVMC128 MCU. How to handle machine exception raised by RAM double bit ECC. We learned that MCU reset is the correct recovery action but is there any other way to perform software reset othe...
    PRATIBHA SURABHI
    last modified by PRATIBHA SURABHI
  • memcpy() don't work in S12X

    My mcu is MC9S12X. In my CAN driver executed by xgate,i use memcpy() to copy data to buffer.And in application layer,i use memcpy() to copy data from buffer. At first,everything is ok.But after a while,in appli...
    everk image
    last modified by everk image
  • mcu is secured after upgrade.

    My mcu is MC9S12X. I have a bootloader and a app.First i write bootloader to board using TBDML and run it,then i upgrade the app through CAN by bootloader using a pc software.   If i delete the VECTOR 0 xx...
    everk image
    last modified by everk image
  • Is it ok , if the value of resistance between extal and xtal change to 5.1K

    I have a question about s12zvc,need your help,really thank you. Recently, when we have EMC test,at EMI,the s12zvc will be reset by internal singnal.When we change the value of resistance between extal and xtal to...
    飞 钟
    last modified by 飞 钟
  • MC68Hc16Z1 complier

    We are using MC68Hc16Z1 controller, But we dont know which complier to use to debug the same controller? Please help us to debug the MC68HC16Z1 controller code.
    Ram s
    last modified by Ram s
  • Any LIN examples out there for the S12zvl ?

    Its been 2 weeks, and yet i cannot accomplish anything with the s12zvl32, because i cannot find any example on the internet, all the example links posted in this community related to the S12xxx are either expired , or...
    ibraheem altaha
    last modified by ibraheem altaha
  • Bootloader CAN for S12Z

    Hi, I'm writing a bootloader for a S12ZVC microcontroller for flashing the firmware throught CAN bus. I see that in AN4723 - S12Z MagniV Bootloader Application Note, there is an example of bootloader with S...
    Giacomantonio Napoletano
    last modified by Giacomantonio Napoletano
  • I Get Wrong Function Address

    My mcu is MC9S12X.   In the map file,my two functions address are: function_1 : 0x616E function_2 : 0x527C   But when i use codes below to get the function address,the result always shift left 8bit:...
    everk image
    last modified by everk image
  • Flash Corruption

    Hello Radek Sestak, Matej Pacha,   We are using S12ZVMC128 chip for our motor application.   We are facing a strange issue with the flash getting corrupted. The chip is okay and we do not have any boot loa...
    Manish Sangram
    last modified by Manish Sangram
  • merge Bootloader and application

    Hi guys, I have a Bootloader and application files in project with part of S912G128MLL, and I want to merge and write them in the flash, Please tell me where to start.   TNX
    mojtaba bargozide
    last modified by mojtaba bargozide
  • s12zvl LIN Pin used as SCI

    Dear Team,   I want to use dedicated LIN Pin of s12zVL micro-controller as a SCI. Is It possible to use LIN pin of s12zVL as a SCI? I want to configure LIN pin as a SCI.   If it is possible May I know Ho...
    Charudatta Ingale
    last modified by Charudatta Ingale
  • The issue with SPI function of MC9S12ZVMBA48.

    Hello, I have a question about the SPI feature of the MC9S12ZVMBA48. I think I set SPI correctly, but it doesn't do anything at all.   The basis for this is that no signal comes out of the SCK. I set the MCU ...
    Kyungwoo Min
    last modified by Kyungwoo Min
  • not able to update SPI0DR

    I am using SPI0 on S12ZVLA128. I tried to do send and receive in polling mode. the SPI is in slave mode. I am checking the SPI0SR register every 10ms. The issue is the SPTEF never set, although I can see there is...
    Ke Li
    last modified by Ke Li
  • Excuse me, how to edit  . PRM  file? Where can I get learning materials?

    hi!    I use S12ZVML32,I want to know how to edit or understand   mc9s12zvml64.prm  files. What materials should we learn?             ...
    max xu
    last modified by max xu
  • One question about FlexRay synchronously Method

    Hello, I am now learning how to configurate a FlexRay cluster by using MC9S12XF512. My node has successfully joined a two nodes FlexRay cluster (There exists a configurated FlexRay network). In this cluster, my node ...
    Chen Shixuan
    last modified by Chen Shixuan
  • Maximum PWM Frequency achievable on S12Z

    Hello,   We are using S12ZVMC128 chip for our motor application. Our motor is a 7PP BLDC motor.   We are using simple BEMF based commutation (not FOC).   We want to increase PWM frequency to the maxi...
    Manish Sangram
    last modified by Manish Sangram
  • BATS Voltage differs from DC Bus Voltage

    Hello Matej Pacha   Since some time we are struggling to figure out why the BATS voltage sensed is always approximately 0.5V less than that given by DC Bus Voltage.   Is there any known reason for this?
    Manish Sangram
    last modified by Manish Sangram
  • Going to STOP mode during low voltage

    Hello, I have recently  came upon a strange problem while using the S12ZVL64 MCU: While going to sleep mode from an under voltage situation the MCU will never wake up if the voltage returns to normal values. T...
    razvanb
    last modified by razvanb
  • bootloader tutorial

    Hello to all; i have a project with s912g128mll and i want to add bootloader codes to update my firmware By the customer. Please tell me where to start.
    mojtaba bargozide
    last modified by mojtaba bargozide