Skip to main content
jlim75
Associate
February 25, 2009
Question

AN2502

  • February 25, 2009
  • 1 reply
  • 571 views
Posted on February 25, 2009 at 12:37

AN2502

This topic has been closed for replies.

1 reply

jlim75
jlim75Author
Associate
May 17, 2011
Posted on May 17, 2011 at 10:15

Has anyone tested the application note AN2502 ?

I am not able to compile the programe with Cosmic C Compiler.

The error message :-

''#error cpst7 source\motcon.c:259(31) truncating assignment''

Below is the line that generated the error message :-

MDREG = ((u16)(MZPRV * (70*0xff/100))) >> 8;

Any help to resolve the error would be much appreciated.

Thank you.