MKM14Z64ACHH5 How to use the analog comparator.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MKM14Z64ACHH5 How to use the analog comparator.

跳至解决方案
1,371 次查看
jun1
Contributor V

Hello,

I am using CORTEX-M0+ MKM14Z64ACHH5.

In the data sheet, it is described as follows.

Two analog comparators (CMP) with 6 bit DAC and programmable reference input

I would like to use this comparator as port input, so please tell me the following points.

① In the KM Family Reference Manual Figure 27-1. CMP, DAC and ANMUX Block Diagram
There are reference inputs 0 to 6, but is this supported on the next pin?
Which pin corresponds to the reference input?

PIN# name
14 SDADP 0
15 SDADM 0
16 SDADP 1
17 SDADM 1
20 SDADP 2 / CMP 1 P 2
21 SDADM 2 / CMP 1 P 3
24 SDADP 3 / CMP 1 P 4
23 SDADM 3 / CMP 1 P 5

② Does SDADPx and SDADMx have a combination of positive input and negative input of the comparator?

③ What is the reference voltage of CMP1P2 to CMP1P5?

④ The name of SDADPx or CMP 1 Px can not be found in the manual. Where do you examine these usage?

⑤ Is there a sample code to use as an input port?

Sorry to trouble you, but I want to know soon, thank you.

I am sorry that my English is not good.

标签 (1)
标记 (1)
1 解答
1,073 次查看
jun1
Contributor V

thank you for your answer.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,073 次查看
mjbcswitzerland
Specialist V

Hi

pastedImage_1.png

Regards

Mark

1,074 次查看
jun1
Contributor V

thank you for your answer.

0 项奖励
回复