mpc5554 gpio103无法做输入 换成gpio88可以
mpc5554 gpio103 cannot do input instead of gpio88 can.
simulating SPI by software:
Hardware spi:
亲们,我用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.
Hi @smallyang
what can you see on an oscilloscope? I can see that PCS configuration is not correct:
PCSB are primary functions but PA field here is set to 0. Isn't that caused rather by the chip select?
Regards,
Lukas
示波器上103引脚有波形 只是软件读不到数据
There's a wave on pin 103 on the oscilloscope but the software can't read the data
您好,CS 我是手动选择的 因为有两个设备,直接做IO口功能使用的
Hello, I chose CS manually because there are two devices, which can be used directly for IO port function