ADC Problem in MQX Example for Kwikstik

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC Problem in MQX Example for Kwikstik

Jump to solution
678 Views
alexdev83
Contributor II

 

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

0 Kudos
1 Solution
332 Views
alexdev83
Contributor II

Hi. I have already resolved this problem, commenting out line 75 of "fio.h" and recompiling PSP and BSP.

 

Happy Critsmas! :smileyhappy:

 



View solution in original post

0 Kudos
2 Replies
332 Views
c0170
Senior Contributor III

Hi alexdev83,

 

i would like to help you, but i might miss some details. It is hard to understand what you are having difficulties with.

What's your user_config and are u playing with ADC example for kwikstik or you modified it ?

0 Kudos
333 Views
alexdev83
Contributor II

Hi. I have already resolved this problem, commenting out line 75 of "fio.h" and recompiling PSP and BSP.

 

Happy Critsmas! :smileyhappy:

 



0 Kudos