MRCANHUBK344 FS26 SPI Communication

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

MRCANHUBK344 FS26 SPI Communication

263 Views
oguzhan1857
Contributor II

Hello,

I am working on the fs_26_example_IP_S32K344 project for the MRCANHUBK344 board. According to the schematic, the FS26 uses the SPI3 interface.

oguzhan1857_0-1724761576110.png

I configured it as shown in the attached images, and set the port pins to 96, 97, 113, and 138.
 

oguzhan1857_1-1724761773490.png

oguzhan1857_2-1724761886677.png

However, I am encountering N_OK during the Sbc_fs26_InitDevice() function.

Could you please help me identify the cause of this issue or suggest possible solutions?



0 Kudos
Reply
2 Replies

55 Views
Djuric
Contributor II

Where exactly is this example    fs_26_example_IP_S32K344   located?

How can I access it?

Thank you.

0 Kudos
Reply

222 Views
ErikaC
NXP TechSupport
NXP TechSupport

Hello,

To secure the writing process during INIT_FS phase, in addition to CRC computation during SPI transfer, the MCU is requested to perform the following sequence for all INIT_FS registers (FS_I_xxxx):
1 - Write the desired data in the FS_I_Register_A (DATA)
2 - Write the opposite in the FS_I_NOT_Register_A (DATA_NOT)

For further details, please refer to the AN13323 S32K3 and FS26 Functional Safety Application Note, available in the secure files section.

 

0 Kudos
Reply