thanks Rmteo,
It is my fault .
I have to use 10 Mhz xtal to get 40 Mhz !

Is this Cortex programmable in Pbasic too ?
Thanks
Ambrogio