MPC5604 CMP output pad

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

MPC5604 CMP output pad

1,385 次查看
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,276 次查看
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 项奖励
回复