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.

CC2540 低功耗模式下运行OPA的问题

各位大侠,各位TI的技术支持们,请问有在协议栈中用OPA的吗?我在裸机程序下,用P00,P01,P02做OPA,P03做ADC可以采集数据,仿真也差不多,但是在simpleBLEPeripheral这个工程上建立一个1秒的定时器任务,OPA不好使了,ADC正常工作,notify正常。我在初始化上配置OPA不好使,任务里重新配置还是不好使。请用过的大神,给点指点。谢谢

ADCCFG |= 0x07;
OPAMPC |= 0x01;
// OPAMPC |= 0x02;
OPAMPMC = 0x03;


TempData = HalAdcRead(HAL_ADC_CHANNEL_3,HAL_ADC_RESOLUTION_12);

pReport.handle=0x2E;
pReport.len = len;
osal_memcpy(pReport.value, pktBuffer, len);
//GATT_Notification( GAPROLE_CONNHANDLE, &pReport, FALSE );
GATT_Notification( 0, &pReport, FALSE );

x 出现错误。请重试或与管理员联系。