主题中讨论的其他器件:CC3235MODSF、 CC3200、 CC3235MODS、 CC3220SF、 CC3220R
处理器能否在运行时确定它是 CC3220MODSF 还是 CC3235MODSF?
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.
处理器能否在运行时确定它是 CC3220MODSF 还是 CC3235MODSF?
getDeviceType()的结果 是复用的。
当在 CC3235MODSF12MOB 上运行时、它返回0x0119。
#define PRCM_DEV_TYPE_FLAG_R 0x00000001
#define PRCM_DEV_TYPE_FLAG_F 0x00000002
#define PRCM_DEV_TYPE_FLAG_Z 0x00000004
#define PRCM_DEV_TYPE_FLAG_SECURE 0x00000008
#define PRCM_DEV_TYPE_FLAG_PRE_PROD 0x00000010
#define PRCM_DEV_TYPE_FLAG_3200 0x00000020
#define PRCM_DEV_TYPE_FLAG_3220 0x00000040
#define PRCM_DEV_TYPE_FLAG_REV1 0x00010000
#define PRCM_DEV_TYPE_FLAG_REV2 0x00020000
我本来希望看到"F"和"S"标志、也许还有"3220"标志、因为我们通过 NWP 版本来确定 CC3220与 CC3235。
此外、"pre_PROD"标志令人惊讶、但该电路板是在一段时间前构建的。 我将使用较新的器件进行测试。
您能解释一下 CC3235MODSF12MOB 的0x0119吗?
'R'和'Z'标志是什么?
谢谢、
标记
Mark、您好!
CC32xx 的标识根据文件 LINK_LOCAL _task.c 中的宏进行
#define DEV_TYPE_CC3220R (0x010)
#define DEV_TYPE_CC3220RS (0x018)
#define DEV_TYPE_CC3220FS (0x019)
#define DEV_TYPE_CC323XR (0x110)
#define DEV_TYPE_CC323XRS (0x118)
#define DEV_TYPE_CC323XFS (0x119)
这应该足以识别器件。 我不确定什么是含义或'Z'标志。
1月