首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

请教MC13213 &Zigbee

请教MC13213 &Zigbee

最近老师买了个MC13213的板子,买来的时候,用程序在里面,可以通过串口看到一些输出信息,但是,我后来自己把802.15.4EVK中的EVK_MyWirelessApp中的程序下进去了,但是串口怎么也没有输出,不知道为什么?
而且程序在运行到Init_802_15_4()函数中的HwSetup()函数里面的ICG_Setup()中的while(((ICGS1 & ICG_FLL_LOCKED) != ICG_FLL_LOCKED) && loop_counter-- > 0);语句时,当loop_counter从100简单0之后,跳出循环之后,又进去,又开始从100减到0;找不到原因,希望大家指点指点!谢谢了!!
珍惜一切!
我知道没有锁住,那怎么让它锁住呢?是设置ICGC1中时钟选择位CLKS为00(self-clocked)呢?还是要配置其他的寄存器呢?
还有串口为什么出不来呢?
谢谢!
珍惜一切!
#if !(defined(TARGET_DIG528_2) || defined(TARGET_DIG536_2) || defined(TARGET_DIG534_1) || defined(TARGET_AXIOM_GB60) ||\
defined(TARGET_RD01) || defined(TARGET_ABELWEAP) || defined(TARGET_TOROWEAP))

// Enable target platform
//#define TARGET_DIG528_2 // 13192-EVB
//#define TARGET_DIG536_2 // 13192-SARD
//#define TARGET_DIG534_1 // Sniffer
#define TARGET_AXIOM_GB60 // 802.15.4 Dev Platform
//#define TARGET_RD01 // For all boards which uses the Freescale reference design 01 layout
//#define TARGET_ABELWEAP // For FSL 560 board using Abelweap
//#define TARGET_TOROWEAP // For FSL 562 and 563 board using Toroweap
// Sub targets - Select only one
//#define MC13213_NCB // For FSL 562 Coordinator/router board using Toroweap with LCD
#define MC13213_SRB // For FSL 563 Sensor board using Toroweap with acc. meter

#endif

这样看的话,应该是选择了SRB,没错啊,刚买来的时候板子里的程序能正常运行,有串口输出,等我把新的烧进去之后就没输出了,802.15.4里面的程序就不能运行,我不知道错哪了?

seuafu2005 ,那我应该怎么设置才能够锁住FLL呢?对时钟我一直不太懂,望指教!!
谢谢你们的帮助!!

珍惜一切!
返回列表