my base project use s32k146 1.0.0 mcal,
For SPI setting, I only update mcal to 1.0.4 and the setting is the same as below
when run to below code, CS should be selected but not, only txcount plus
no signal on SCLK or MOSI
Hello,
I have imported your configuration and test with my board. Unfortunately, I can't reproduce your issue. With this sequence: Sigma300_ProgramWritesSequence, (using SPI0 CS0) I can send the SPI signal from master. I also able to modify the TCR register's value.
Best Regards,
Nam
Hi Nam
could you send me your generate code?
I want to compare the diffference.
Hello,
I supposed you're using S32K1xx ASR 4.2, and just update from RTM 1.0.0 to RTM 1.0.4. Since there might have a lot of changes between these two versions, could you send us the EB configuration files in *.epc, including SPI, MCU and PORT? We will double check in our site.
Best Regards,
Nam
Hi
Thank you for the replying.
Yes I just update from RTM 1.0.0 to RTM 1.0.4, since the setting is almost the same.
after installing the new mcal with 3rdPartyMcalIntegrationHelper, I use the .arxml file to import the setting directly.
attached file is the .arxml file of spi, mcu and port, hope it could useful.
by the way, I tried to set TCR as 00200007 after Spi_Init().
but it didn't work either, please check the attached 1.jpg
thanks!