How to get frequency register of KW41Z

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

How to get frequency register of KW41Z

1,101 Views
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

Labels (1)
5 Replies

958 Views
danieltseng
Contributor V

Hi Estephania

Thanks for your reply, I have understood.

Daniel

0 Kudos
Reply

958 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Ok, it is good.


Regards,

Estephania

0 Kudos
Reply

958 Views
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 Kudos
Reply

958 Views
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

958 Views
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