Other Parts Discussed in Thread: Z-STACK, CC2591, , CC2592
hello
i am using cc2530PA1. I want to know where the output power get defined? can I change that?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Make sure that you have the correct HAL_PA_LNA_CC259x macro defined so that proper power tables are used accordingly.
Regards,
Ryan
Thank you sir...
I also want to know how can I figure out the default value that is defined for tx power and where can I find it???
And is it possible to set tx power to any arbitrary value or it is based on some specific standards???
The default project TX output power is 0 dBm: https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/277659
Regards,
Ryan
The CC2530PA1 is a third-party EVM which uses a Skyworks RFX2401C power amplifier that has not been characterized by Z-Stack. Here are some relevant E2E threads for your reference:
https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/616528
https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/745200
https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/647778
Regards,
Ryan
According to your schematic, you should define HAL_PA_LNA_CC2591 in predefined symbols and call “macRadioSetTxPower(16dbm) ;” in your application init function to set TX power to 16 dbm. By the way, you can adjust 16 to the value you want to set TX power but the max would be 20.
hello
I heard about some kind of PA circuit in CC2530 module which should be enabled by setting a pins value, and did some search on it and found this peace of code in mac_radio_defs file:
/* P1_1 -> PAEN */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL1 = OBSSEL_OBS_CTRL0;
how should I adjust the PA to maximize the transmit power? is this effective?
We've already discussed how you have to change the Z-Stack P1.1/P1.4 settings for the SkyWorks RFX2401C PA. https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/p/812151/3009091#3009091
The CC2530-PA1 datasheet provided already recommends the mac_radio_defs.c pin settings you've described.
Regards,
Ryan
This appears to be a hardware issue, you should contact the board manufacturer or use a TI EVM.
Regards,
Ryan
thanks Ryan for your help,
I saw the previous links you had sent to me and in one of them it mentioned that I should check the pins to make sure whether they toggle or not. so besides the above things I have done, I called these functions in my application event loop to set my transmit power and put break points before them:
macRadioTurnOnPower()
macRadioSetTxPower(20)
by testing, I saw that it toggles on macRadioTurnOnPower() but it doesn't enter the function to see the pins state.
I don't have scope to check by. is there any solution to check the pins state on any transmission?
I didn't mentioned that, but actually it is true and my cc2530pa1 includes an rfx2401c range extender, but according to your previous suggestions "which was about defining HAL_PA_LNA_CC2591 in project options" , I guessed that I should define HAL_PA_LNA_CC2591 in my project options. But now I doubted between cc2591 and cc2592 because of the following part of datasheet.