Doubt about SMAC documentation - Document Number: KSMACRM

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

Doubt about SMAC documentation - Document Number: KSMACRM

1,360 Views
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 ?

Labels (2)
0 Kudos
3 Replies

1,244 Views
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 Kudos

1,244 Views
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 Kudos

1,244 Views
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 Kudos