MPC5604 CMP output pad

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

MPC5604 CMP output pad

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

Dear Sir or Mandam,

 

I have a problem when configuring CMP module. I use the CMP2_IN[1] as the positive input of CMP, 3.3V as the negative input of CMP, ccording to the datasheet, the CMP2_O (PB10) should change with the result of the comparasion, however, in fact the CMP2_O (PB10) is always high whatever the result of the comparasion is.

 

Attached is my project, could you please to tell me what's wrong with my program?

 

Thank you very much!

Original Attachment has been moved to: mpc5748g_Z4_1.rar

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

1,230件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Without any deeper study of your complex code I see you don’t have set SIUL_MSCR26[SSS] to 0x3 what selects CMP2_O functionality.

0 件の賞賛
返信