Question about S32K3X4EVB-Q172

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question about S32K3X4EVB-Q172

ソリューションへジャンプ
575件の閲覧回数
20Sidar04
Contributor III

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. 

0 件の賞賛
返信
1 解決策
483件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
525件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
516件の閲覧回数
20Sidar04
Contributor III

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?

 

20Sidar04_0-1710160671279.png

20Sidar04_1-1710160688172.png

 

Regards.

Sidar.

 

0 件の賞賛
返信
484件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
441件の閲覧回数
20Sidar04
Contributor III

Hi Tomas,

After SPI mode 1 (CPOL=0 and CPHA=1) configuration, it works. Thanks for precious advice.

Regards,

Sidar.

0 件の賞賛
返信