Hi Erwan,
I suppose that this thread is related to your next thread:
https://community.freescale.com/thread/391931
Yes, MC9S12A128CPVE should work with the oscillator in Pierce mode.
In that case, the XCLKS=PE7 pin has to be connected (pulled-down) to GND.
I would like to recommend additional parallel resistor to crystal – for example, 1MOhm. However, this will be probably not the root cause.
The crystal circuit parts parameters should be evaluated with crystal manufacturer. But 22pF looks OK for most of the standard crystals.
Note: Crystal must be fundamental and not overtone.
Could you please share your schematic with MCU surroundings that we could shortly check for any obvious or potential issues?
Please check power supply pins according to Table 2-2 MC9S12DT128 Power and Ground Connection Summary in RM:
http://www.nxp.com/files/microcontrollers/doc/data_sheet/9S12DT128_ZIP.zip
Please check also chip orientation.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------