MC33905S Exercising I/O-3

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

MC33905S Exercising I/O-3

跳至解决方案
2,361 次查看
iamtawit
Contributor II

I am using MC33905S for my application, as power regulator and CAN transceiver, in Normal mode and is working fine so far. However, I can't make the I/O-3 to drive a small LED.

What I have done is, during Initializing the LIN and I/O I set the LIN_T2[1], LIN_T2[0] bits to '10' for 'pin operation as I/O: HS switch and Wake-up input'

And when in Normal mode I set the I/O register I/O-3 [1], I/O-3 [0] to '11' for 'I/O-3 HS driver enable' which should bring the I/O-3 pin to Vsup2 voltage and drive my LED ... but it doesn't.

Can anyone point-out what did I missed? I can control I/O-0 and I/O-1 just fine but not I/O-3. 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,265 次查看
iamtawit
Contributor II

I found a problem ... here is what happened. Even though I disable LIN_T1 and LIN_T2, termination pin of LIN1 and LIN2 and configure both pins to function as I/O as mentioned in the first post, I also have to disable both LIN module as well via LIN/1 and LIN2 register setting LIN mode[1] and LIN mode[0] to '01' (not used).

And now I can control I/O-3 via I/O register by set it to either '00' or '11'.

Hopefully this will help everybody facing this issue.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,266 次查看
iamtawit
Contributor II

I found a problem ... here is what happened. Even though I disable LIN_T1 and LIN_T2, termination pin of LIN1 and LIN2 and configure both pins to function as I/O as mentioned in the first post, I also have to disable both LIN module as well via LIN/1 and LIN2 register setting LIN mode[1] and LIN mode[0] to '01' (not used).

And now I can control I/O-3 via I/O register by set it to either '00' or '11'.

Hopefully this will help everybody facing this issue.

0 项奖励
回复
2,265 次查看
iamtawit
Contributor II

Connection is very simple, just resistor and LEDs.

pastedImage_1.png

0 项奖励
回复
2,265 次查看
guoweisun
NXP TechSupport
NXP TechSupport

Hi

Could you please show your schematic for us?

Thanks!

0 项奖励
回复