Temperature sensor/collector example on FRDM-KW41ZJ not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Temperature sensor/collector example on FRDM-KW41ZJ not working

ソリューションへジャンプ
969件の閲覧回数
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 解決策
698件の閲覧回数
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 返答(返信)
699件の閲覧回数
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 件の賞賛
698件の閲覧回数
khanh_huynh
Contributor I

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

Regards,

Khanh

0 件の賞賛