Other Parts Discussed in Thread: CC2640R2F
AD采集通道选择,在程序中如何修改到别的通道,比如DIO24。
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.
CC2640r2f和CC1310类似,看下这里提到的两种方法都可以实现IO的更改:https://e2echina.ti.com/support/wireless-connectivity/bluetooth/f/bluetooth-forum/198993/cc2640r2f-adc/620222?tisearch=e2e-sitesearch&keymatch=Board_ADC1#620222
rfWsnNode例程中DIO23和DIO24都被LCD显示驱动占用了
DIO26定义在scif.h中:
/// ADC Sample: Number of ADC value bins
#define SCIF_ADC_SAMPLE_BIN_COUNT 5
/// ADC Sample: Number of bin thresholds
#define SCIF_ADC_SAMPLE_THRESHOLD_COUNT 6
/// ADC Sample I/O mapping: ADC input
#define SCIF_ADC_SAMPLE_DIO_A_AD_INPUT 26
你可以使用DIO26-DIO30的IO口