KL46Z SPI slave bug?

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

KL46Z SPI slave bug?

779 次查看
jvr
Contributor I

Hello,

I've recently moved a PE project from a KL25Z to a KL46Z.  The board acts as an SPI slave.  I noticed issues with SPI after moving, as in not working at all.

After creating some test projects and testing on both boards I seem to have found a PE bug - the KL46Z, when put in CPHA=1, never fires the OnBlockReceived event.  The same code works fine on a KL25Z put in CPHA=1.  The interrupt fires on the KL46Z if CPHA=0.

I don't see anything in the KL46 reference manual that would explain this behavior and I didn't see any errata in the documentation section for the KL46Z that pertains.  Is this a bug, or have I missed something?

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

484 次查看
Petr_H
NXP Employee
NXP Employee

Hi,

we are not aware of such problem with SPI component and we are not able to reproduce it, the KL46 seems to work normally. Please double check your hardware connection and the code. Are you handling the chip select properly?  If the problem persists, could you post a sample project showing how the SPI is configured and used?

Best regards

Petr Hradsky

Processor Expert Support Team

0 项奖励
回复