GPIO pins of MC33771b connected to S32K144

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

GPIO pins of MC33771b connected to S32K144

1,319 次查看
sushma
Contributor III

Hello,

I want to utilize one of the GPIO pin as digital output ( as they can be configured as temperature sensors and as digital input or output)

pastedImage_1.png

So in order to make GPIO1 as digital output; I wrote 12 to the register BCC_REG_GPIO_CFG1_ADDR

pastedImage_2.png

and in order to make it high, I wrote 2 to BCC_REG_GPIO_CFG2_ADDR

pastedImage_3.png

pastedImage_4.png

I did check the status of the pins using BCC_REG_GPIO_STS_ADDR register and got the value 202 indicating GPIO 1 is high.

But in hardware; I have taken a wire from the conjunction point of C74 AND R40 , yet I'm not getting any voltage there.

pastedImage_5.png

Kindly suggest a solution.

Thank you

标签 (1)
0 项奖励
回复
1 回复

1,209 次查看
sushma
Contributor III

I got it sorted, GND had to be w.r.t to MC33771B, got it !!

0 项奖励
回复