Doubt about SMAC documentation - Document Number: KSMACRM

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

Doubt about SMAC documentation - Document Number: KSMACRM

1,648 次查看
moura_fmo
Contributor I

I´m testing SMAC using FREEDOM KW24.

When I study sample code and I have doubt about Power Output Adjust (MLMEPAOutputAdjust), function showed at page 3-27.

The documentation says that the maximum value is 0x1F but I´m getting error with values more than 0x1C. (Value = 31-3 = 28 = 0x1C).

Looking for sample code I get more confuse (file wireless_uart.h):

Note Image:

pastedImage_2.png

Max Output was defined as 0x0F. The sample code is "wireless_uart_freertos_frdmkw24" using kinetis.

Can you help to understand better your document ?

标签 (2)
0 项奖励
回复
3 回复数

1,532 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Could you please help the example of the Connectivity_Test? I believe you can check more about how ithe power it's being set and more details there.

Regards,

Estephania

0 项奖励
回复

1,532 次查看
moura_fmo
Contributor I

Hi Estephania, tnx for your reply.

So, I used runned all wireless examples. The point is that the maximum value set in examples is less than maximum accept by hardware (see my print screen) and looking for docummentation the maximum value accepted (0x1F) generates error condition. Maybe there are problems with documentation and sample code. Note image bellow.

pastedImage_1.png

0 项奖励
回复

1,532 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Did you change the following link in the app_preinclude.h file?

 * SMAC Configuration  */
#define gMinOutputPower_c  (0x08)
#define gMaxOutputPower_c  (0x1C)


Regards,

Estephania

0 项奖励
回复