ADC Problem in MQX Example for Kwikstik

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ADC Problem in MQX Example for Kwikstik

跳至解决方案
1,334 次查看
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 项奖励
回复
1 解答
988 次查看
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 项奖励
回复
2 回复数
988 次查看
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 项奖励
回复
989 次查看
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 项奖励
回复