Other Parts Discussed in Thread: CC2530
大家好,我现在在CC2530加一个PA 用的是RFX2401C的, 我想问下就是RFX2401C的两个使能脚TAEN和RXEN是不是接在CC2530上的任意两个IO口都可以?比如我用P1.1和P1.2或者用P2.3和P2.4?谢谢!
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.
建议参考 http://blog.chinaunix.net/uid-24343357-id-3659500.html
不建议使用P2口,因为P2口有很多是复用引脚
Susan Yang你好,请教一下2530+2401除了两个控制管脚要在mac_radio_defs.c中修改一下
/* P1_1 -> PAEN P1.2 */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL2 = OBSSEL_OBS_CTRL0;
/* P1_4 -> EN (LNA control) */
// RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
// OBSSEL4 = OBSSEL_OBS_CTRL1;
P1SEL &= ~0x10;
P1DIR |=0x10;
P1_4=1;
1.1改成了1.2,1,4没有变动,但是现在程序下载进去,没有反应???不加2401程序是好使的