Other Parts Discussed in Thread: CC3100
主题中讨论的其他器件:CC3100
大家好、
CC3100模块的软件版本是验证和生产的理想选择?
在当前模块中,我使用 RetVal = sl_DevGet (sl_device_General_configuration、&configOpt、&configLen、(uint8_t *)(&ver) API 检查了软件版本。
我可以找到软件版本1.2.0.2.我的观察结果是否正确?
谢谢、
Likhitha
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.
Other Parts Discussed in Thread: CC3100
大家好、
CC3100模块的软件版本是验证和生产的理想选择?
在当前模块中,我使用 RetVal = sl_DevGet (sl_device_General_configuration、&configOpt、&configLen、(uint8_t *)(&ver) API 检查了软件版本。
我可以找到软件版本1.2.0.2.我的观察结果是否正确?
谢谢、
Likhitha
您好、Likhitha、
在最新的 Service Pack 上使用 sl_DevGet 时、我得到的结果与您不同:
芯片67108880
Mac 1.4.0.1
PHY 1.0.3.34
NWP 2.7.0.0
ROM 13107
主机1.0.1.6
我通过这种方式获得了该结果:
//获取版本的示例:
_u8 pConfigOpt;
_u8 pConfigLen;
SlVersionFull ver;
pConfigLen = sizeof (ver);
pConfigOpt = SL_DEVICE_General_version;
sl_DevGet (sl_device_General_configuration、&pConfigOpt、&pConfigLen、(_u8 *)(&V));
UART_PRINT ("芯片%d\n\rMAC %d.%d.%d.%d.%d\n\rPHY %d.%d.%d.%d.%d\n\rNWP %d.%d.%d.%d\n\rrom %d\n\rHOST %d.%d.%d.%d.%d\n"\}、
Ver.ChipFwAndPhyVersion.ChipId、
ver.ChipFwAndPhyVersion.FwVersion[0]、ver.ChipFwAndPhyVersion.FwVersion[1]、
ver.ChipFwAndPhyVersion.FwVersion[2]、ver.ChipFwAndPhyVersion.FwVersion[3]、
ver.ChipFwAndPhyVersion.PhyVersion[0]、ver.ChipFwAndPhyVersion.PhyVersion[1]、
ver.ChipFwAndPhyVersion.PhyVersion[2]、ver.ChipFwAndPhyVersion.PhyVersion[3]、
ver.NwpVersion[0]、ver.NwpVersion[1]、ver.NwpVersion[2]、ver.NwpVersion[3]、
版本 RomVersion、
SL_MAJOR VERSION_NUM、SL_MINOR VERSION_NUM、SL_VERSION_NUM、SL_SUB_VERSION_NUM);
请记住,必须在 sl_Start 之后调用 sl_DevGET()。 此外、由于服务包中的错误、sl_DevGet 返回的 MAC 版本稍微关闭(应为1.4.1.1)。
上面显示的寄存器是什么? 您是否将信息移动到数组中?
此致、
Sarah
您好、Likhitha、
不是、这不是 MAC 的最新版本。 我在上面发布的是最新版本。 您使用的是什么服务包?
编辑:
请记住、如果您使用 printf、则可能需要更改格式类型才能获得准确的打印结果。 请参阅以下内容:
printf ("芯片%lu\n\rMAC %lu.%lu.%lu.%lu\n\rPhy %hu.%hu.%hu.%hu\n\nrNWP %lu.%lu.%lu.%lu.%lu.n\rhoST %lu.%lu.%lu.%lu.%lu.%lu.%lu.%lu.%lu.%lu.
Ver.ChipFwAndPhyVersion.ChipId、
ver.ChipFwAndPhyVersion.FwVersion[0]、ver.ChipFwAndPhyVersion.FwVersion[1]、
ver.ChipFwAndPhyVersion.FwVersion[2]、ver.ChipFwAndPhyVersion.FwVersion[3]、
ver.ChipFwAndPhyVersion.PhyVersion[0]、ver.ChipFwAndPhyVersion.PhyVersion[1]、
ver.ChipFwAndPhyVersion.PhyVersion[2]、ver.ChipFwAndPhyVersion.PhyVersion[3]、
ver.NwpVersion[0]、ver.NwpVersion[1]、ver.NwpVersion[2]、ver.NwpVersion[3]、
版本 RomVersion、
SL_MAJOR VERSION_NUM、SL_MINOR VERSION_NUM、SL_VERSION_NUM、SL_SUB_VERSION_NUM);
此致、
Sarah