How to get frequency register of KW41Z

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

How to get frequency register of KW41Z

1,984 次查看
danieltseng
Contributor V

   Using KW41's GenFsk in MCUXpresso IDE environment.
    Research program can't find the last place to write register.
  
   Question:
   1. Channel range 0 ~ 127, what is the corresponding frequency?
   2. Where is the last place to write register in the program?

pastedImage_1.png

pastedImage_2.png

pastedImage_3.png

标签 (1)
5 回复数

1,841 次查看
danieltseng
Contributor V

Hi Estephania

Thanks for your reply, I have understood.

Daniel

0 项奖励
回复

1,841 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Ok, it is good.


Regards,

Estephania

0 项奖励
回复

1,841 次查看
danieltseng
Contributor V

Hello,

2. The structure of the program is not easy to understand, so can't find the corresponding function.
   2a. That is, when I press the "q" or "w" key, which function will be incremented or decremented ?

   2b. I want to know how to find this function?

Daniel

0 项奖励
回复

1,841 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

The code you are using works event based, so when you press a key .

Still , you can find in the gen_fsk_tests.c file the following line

GENFSK_SetTxPowerLevel(mAppGenfskId, gaConfigParams[2].paramValue.decValue))

I believe is the one you are looking for.

Regards

Estephania

1,841 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

For the Channel this is mapped in the following way

Channel: 0 to 127 (2360MHz + x*1Mhz)

I believe you can find more information about the channel mapping in the Generic FSK Link Layer Quick Start Guide

you can find this document in the SDK documentation under the following path.

C:\<installation path>\SDK_2.2.1_FRDM-KW41Z\docs\wireless\GENFSK

Could you please help me with more details on the question 2? It is not clear for me what are you looking for.

Please remember that sometimes if you can't find an implementation of the function and you can only see the prototype function in the Wireless Connectivity Framework uses some pre-compiled libraries with the implementation of the libraries.

Regards,

Estephania