大家好,請問一下如何在CCS8下更改CC2640R2F的封裝想把CC2640R2F launchpad 7*7換成4*4的
嘗試過把$ TI_RTOS_DRIVERS_BASE $ \ TI \板\ SRF06EB \ CC2650EM_7ID改成$ TI_RTOS_DRIVERS_BASE $ \ TI \板\ SRF06EB \ CC2650EM_4XS
但CCS裡面路徑沒有$ TI_RTOS_DRIVERS_BASE $ \ ti \ boards \ SRF06EB \ CC2650EM_7ID不知道如何修改
有看到要修改Board.h、CC2640R2_LAUNCHXL.c、CC2640R2_LAUNCHXL.h但不知道要如何下手
麻煩大家教導教一下
謝謝
YiKai Chen:
基本上只要把用到的腳位修改到CC2640R2_LAUNCHXL.h,沒用的定義為PIN_UNASSIGNED,其他的不用改
Viki Shi:
论坛有类似贴,请参考这边解答:
e2echina.ti.com/…/98642
e2echina.ti.com/…/99236
user5774440:
回复 YiKai Chen:
YiKai Chen,你好
請問一下
若我CC2640R2F4*4板子上
第23腳定義為SCL0
第24腳定義為SDA0
是不是把接腳改成下面那樣??(原本的)
/* Analog Capable DIOs */
#define CC2640R2_LAUNCHXL_DIO23_ANALOGIOID_23
#define CC2640R2_LAUNCHXL_DIO24_ANALOGIOID_24
#define CC2640R2_LAUNCHXL_DIO25_ANALOGIOID_25
#define CC2640R2_LAUNCHXL_DIO26_ANALOGPIN_UNASSIGNED
#define CC2640R2_LAUNCHXL_DIO27_ANALOGIOID_27
#define CC2640R2_LAUNCHXL_DIO28_ANALOGIOID_28
#define CC2640R2_LAUNCHXL_DIO29_ANALOGIOID_29
#define CC2640R2_LAUNCHXL_DIO30_ANALOGIOID_30/* I2C */
#define CC2640R2_LAUNCHXL_I2C0_SCL0IOID_4
#define CC2640R2_LAUNCHXL_I2C0_SDA0IOID_5(修改後)
/* Analog Capable DIOs */
/*#define CC2640R2_LAUNCHXL_DIO23_ANALOGIOID_23*/
/*#define CC2640R2_LAUNCHXL_DIO24_ANALOGIOID_24*/
#define CC2640R2_LAUNCHXL_DIO25_ANALOGIOID_25
#define CC2640R2_LAUNCHXL_DIO26_ANALOGPIN_UNASSIGNED
#define CC2640R2_LAUNCHXL_DIO27_ANALOGIOID_27
#define CC2640R2_LAUNCHXL_DIO28_ANALOGIOID_28
#define CC2640R2_LAUNCHXL_DIO29_ANALOGIOID_29
#define CC2640R2_LAUNCHXL_DIO30_ANALOGIOID_30/* I2C */
#define CC2640R2_LAUNCHXL_I2C0_SCL0IOID_23
#define CC2640R2_LAUNCHXL_I2C0_SDA0IOID_24
user5774440:
回复 YiKai Chen:
YiKai Chen,你好
不好意思!!再請問一下
#define CC2640R2_LAUNCHXL_DIO23_ANALOG(那這邊的DIO23有什麼意思?) _______IOID_23(這邊是23腳的名稱IOID_6)我以為DIO23_ANALOG是IC上第23接腳
user5774440:
回复 YiKai Chen:
YiKai Chen,你好
我剛剛核對了7×7的CC2640R2_LAUNCHXL.h與IC的接腳發現有些腳沒有標示出來
像7×7的第一腳RF_P 我在CC2640R2_LAUNCHXL.h找不到
是有些腳位不用全部定義出來?不好意思,剛接觸CC2640R2F問題一堆,一直打擾你
da qin zheng sheng:
回复 user5774440:
4*4有官方的原理图可以参考,和7*7的通信引脚有小的区别。