MPC5748G, CMP module, seven modes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5748G, CMP module, seven modes

1,033件の閲覧回数
shifeiqian
Contributor II

Dear Sir. or Mandam,

 

I have encountered some problem while configuring cmp module of MPC5748G. Attached is my test project. I have used CMP_0 module, the positive input is the voltage that I give through PG7, the negative input is set to 3.3V through DAC, the output pin is PC10, and its voltage will change with the result of comparision. When the voltage of PG7 is higher than 3.3V, LED2 is turned on, and PC10 is high. When the voltage of PG7 is lower than 3.3V, LED1 is turned on, and PC10 is low.

 

My questions are:

1. How to understand and test sampled, non- filered mode, sampled, filtered mode, windowed mode, windowed/ resampled and windowed/ filtered mode?Could you please give me the typical configuration and the corresponding wave result of these modes?

2. In windowed mode, windowed/ resampled and windowed/ filtered mode, how to configure the window?

3. Why in my project, PC10 is alway high in windowed mode, windowed/ resampled and windowed/ filtered mode?

 

Thank you very much for your help.

 

Yours sincerely,

QIAN Shifei

Original Attachment has been moved to: mpc5748g_Z4_1.zip

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 返信

864件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

regarding modes; this is described in the RM, I think.

For the rest see the window mode of MPC5748G,CMP module .

BR, Petr

0 件の賞賛
返信