Dear Mr. and Mrs.,
I resolder S32 microcontroller on S32K3X4EVB-Q172. After that I connected STM32 microcontroller's SPI and Reset to PFS26ZZXMA0D. PFS26ZZXMA0D is working as debug mode. For SPI connection, I changed voltage from 5 to 3.3 by changing location of J18 header. I can measure 1.5 volt for Vcore, 3.3 and 5 volt from Regultor output of PFS26ZZXMA0D. After that I send SPI message to pass Initiliaze mode. But when I send first 32 bit message for Reading LFSR value in FS_WD_TOKEN register during initiliaze. My data byte is equal to 0. After that when I want to read FS_STATES register. FS_STATES[3:0] is equal to 0000. For using PFS26ZZXMA0D with STM32 I only connect SPI, Ground and reset pin. CRC calculation and CRC response are correct during SPI communication. Vdebug voltage is under 6 V. Do you have any advice for correct working for it.
Regards,
Sidar.
Solved! Go to Solution.
Hello Sidar,
Please double check you SPI mode and timing. The FS26 uses SPI mode 1 (CPOL=0 and CPHA=1). Are you able to read correctly the M_DEVICEID register 0x00?
BR, Tomas
Hello Sidar,
Did you manage to read the FS_WD_TOKEN register before desoldering the S32K3 MCU?
Do you have a logic analyzer to double check if your SPI read command is correct?
BR, Tomas
Dear Tomas,
Thanks for response. Previous software developers complained about getting hotter of S32K3 MCU on board. Due to this reason, they desoldered MCU. I didn't have an opportunity to test FS26 with S32K3 on development board. Following pictures shows communication between STM32 and FS26. I have another question that reserved bit could be 1 during reading register?
Regards.
Sidar.
Hello Sidar,
Please double check you SPI mode and timing. The FS26 uses SPI mode 1 (CPOL=0 and CPHA=1). Are you able to read correctly the M_DEVICEID register 0x00?
BR, Tomas
Hi Tomas,
After SPI mode 1 (CPOL=0 and CPHA=1) configuration, it works. Thanks for precious advice.
Regards,
Sidar.