Temperature sensor/collector example on FRDM-KW41ZJ not working

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

Temperature sensor/collector example on FRDM-KW41ZJ not working

跳至解决方案
982 次查看
khanh_huynh
Contributor I

Hi all,
I'm trying to run the temperature sensor/collector example provided by NXP on 2 FRDM-KW41ZJ boards. However, when I tried to flash and debug the examples using MCUXpresso, both programs just pause at the breakpoints at OSA_init() function, after resuming, LED3 is not on as described. Additionally, when SW4 is pressed, nothing happens. On the debugger there is also no indication of any error.
I then tried to run these examples using KDS. With KDS, both programs showed 'No source available for "0x0"' after resuming from OSA_init() function.
I tried running other examples from the FRDM board and they all seem to work fine except these two. Any help would be very appreciated.

Kind regards,
Khanh Huynh

标记 (1)
0 项奖励
1 解答
711 次查看
danielkresta
NXP Employee
NXP Employee

Hello.
Not sure about MCUXpresso, but according to what you describe in KSD, the issue might be that you have low power mode enabled. That way after flashing the debugger disconnects. And also LEDs are not used in this mode. My suggestion is to disable cPWR_UsePowerDownMode in app_preinclude.h and test if it is any different.

Regards,
Daniel

在原帖中查看解决方案

0 项奖励
2 回复数
712 次查看
danielkresta
NXP Employee
NXP Employee

Hello.
Not sure about MCUXpresso, but according to what you describe in KSD, the issue might be that you have low power mode enabled. That way after flashing the debugger disconnects. And also LEDs are not used in this mode. My suggestion is to disable cPWR_UsePowerDownMode in app_preinclude.h and test if it is any different.

Regards,
Daniel

0 项奖励
711 次查看
khanh_huynh
Contributor I

Thank you Daniel.
I tried disabling cPWR_UsePowerDownMode in both programs and now they are working!

Regards,

Khanh

0 项奖励