mpc5554 GPIO103

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

mpc5554 GPIO103

574 次查看
smallyang
Contributor III

mpc5554 gpio103无法做输入 换成gpio88可以    

mpc5554 gpio103 cannot do input instead of gpio88 can.

 

simulating SPI by software:

smallyang_2-1718241203992.png

 

smallyang_0-1718240989789.png

 

Hardware spi:

smallyang_1-1718241136189.png

 

亲们,我用gpio103做spi输入 死活不行 ,硬件的代码和软件模拟的代码都不行  但是飞线到gpio88用gpio88可以正常通信  是初始化有什么问题嘛吗,我看手册上这两个脚不太一样

Dear friends, I use gpio103 to do spi input dead or alive, hardware code and software simulation code are not good, but fly line to gpio88 with gpio88 can normal communication is initialization, is there any problem, I see the manual these two feet are not the same.

 

smallyang_3-1718242848133.png

smallyang_4-1718242885415.png

smallyang_5-1718242943490.png

 

 

smallyang_6-1718242976977.png

 

 

smallyang_7-1718243009040.png

 

smallyang_8-1718243048923.png

 

 

 

 

 

 

 

0 项奖励
回复
4 回复数

540 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @smallyang 

what can you see on an oscilloscope? I can see that PCS configuration is not correct:

lukaszadrapa_0-1718871603034.png

PCSB are primary functions but PA field here is set to 0. Isn't that caused rather by the chip select?

Regards,

Lukas

 

 

0 项奖励
回复

517 次查看
smallyang
Contributor III

示波器上103引脚有波形  只是软件读不到数据

 

 

There's a wave on pin 103 on the oscilloscope but the software can't read the data

0 项奖励
回复

518 次查看
smallyang
Contributor III

您好,CS 我是手动选择的  因为有两个设备,直接做IO口功能使用的 

 

Hello, I chose CS manually because there are two devices, which can be used directly for IO port function

0 项奖励
回复

498 次查看
smallyang
Contributor III

smallyang_0-1719029347894.png

 

0 项奖励
回复