AnsweredAssumed Answered

ADC Problem in MQX Example for Kwikstik

Question asked by Alessandro Tordini on Dec 20, 2011
Latest reply on Dec 21, 2011 by Alessandro Tordini

 

Hi. I'm using Codewarrior 10.1 with the lastest update, MQX 3.7 and

Kwikstik Patch. (I have a Kwikstik REV 4)


I'm trying to use the MQX example relative to ADC converter, but it not work correctly. The various printf in the example doesn't work.

If I make a Debug, it blocks after a printf (where I set a breakpoint). Exactly in io_read.c in this part of the code.

#if MQX_CHECK_ERRORS
if (dev_ptr->IO_READ == NULL) {
file_ptr->ERROR = MQX_IO_OPERATION_NOT_AVAILABLE;
return(IO_ERROR);
} /* Endif */
#endif

Can you give me a solution?

 

Thanks

Outcomes