Unable to set PTB8 high on MKL02Z32VF4K

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

Unable to set PTB8 high on MKL02Z32VF4K

2,234 次查看
ryanlush
Contributor IV

I've been struggling with this pin for a while now. I have even pulled the rest of the components off my board and tried a few different boards. I'm also controlling PTB0 and it's behaving as expected but I can't get PTB8 to do anything. Is there some hidden function I need to disable? I'm not finding anything along those lines in the reference manual or the datasheet.

0 项奖励
回复
4 回复数

2,063 次查看
ryanlush
Contributor IV

yes, once I started setting the correct pin things started working. On to the next problem...

0 项奖励
回复

2,063 次查看
ryanlush
Contributor IV

It turns out someone created the schematic symbol wrong. My hardware was actually looking at PORTA.

0 项奖励
回复

2,063 次查看
miduo
NXP Employee
NXP Employee

Hi,

So it seems a hardware issue, not a software configuration related. Hope it will work normal after changed the hardware signals.

B.R.Fang

0 项奖励
回复

2,061 次查看
juanm
Contributor III

Have you set correct mux for the pin? The default function of PTB8 is ADC0_SE11

0 项奖励
回复