KL46Z SPI slave bug?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KL46Z SPI slave bug?

775 Views
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?

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

480 Views
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 Kudos
Reply