Search found 5 matches

by ethan.deng
2023年 Oct 26日 13:33
Forum: TuyaOS-蜂窝设备开发
Topic: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口
Replies: 11
Views: 2575

Re: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口

qapi_ADC_Set_Amp_Threshold
qapi_ADC_TM_Enable_Thresholds
qapi_ADC_TM_Set_Tolerance
这几个函数是什么意思,能否设置阈值通过ADC唤醒模组?

by ethan.deng
2023年 Oct 26日 11:57
Forum: TuyaOS-蜂窝设备开发
Topic: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口
Replies: 11
Views: 2575

Re: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口

没有配置。那ADC的转换速度是多少?ADC的精度是多少bit的?

by ethan.deng
2023年 Oct 26日 11:55
Forum: TuyaOS-蜂窝设备开发
Topic: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口
Replies: 11
Views: 2575

Re: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口

/** ADC input properties. */ typedef struct { uint32_t nDeviceIdx; / < Device index. */ uint32_t nChannelIdx; / < Channel index. */ } qapi_Adc_Input_Properties_Type_t; /** ADC TM input properties. */ typedef struct { uint32_t nDeviceIdx; / < Device index. */ uint32_t nChannelIdx; / < Channel index. ...
by ethan.deng
2023年 Oct 26日 11:39
Forum: TuyaOS-蜂窝设备开发
Topic: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口
Replies: 11
Views: 2575

Re: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口

test_adc_module.c代码里只有读取ADC参数。如何设置ADC??
例程ADC是每一读取一次的,可以有连续转换的配置?

by ethan.deng
2023年 Oct 23日 17:45
Forum: TuyaOS-蜂窝设备开发
Topic: MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口
Replies: 11
Views: 2575

MA510-GL模块TuyaOS SDK没有适配ADC、PWM等接口

如题,在使用MA510开发产品时,发现TuyaOS SDK没有适配ADC、PWM的api。项目急需使用这两个模块功能,请尽快帮助完善以上功能!!