PHY_665A causing DET

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

PHY_665A causing DET

2,179 Views
pjadhav21
Contributor II

Hello team,

I am integrating TPL module for my project on SPI 1 and 2. I have configured SPI device as well as configured PHY_665A and BMS_Common, Bcc_772a, Bcc_774a components. But I am getting below error stack:

Det_EndlessLoop()
Det_ReportError(:ModuleId = 255, :InstanceId = 0, :ApiId = 172, :ErrorId = 30)
Phy_665a_SpiVariantInit()
Phy_665a_Init(:McuIfProtocol = PHY_665A_SPI)
RE_ManageLED(:self = 0)
Os_Task_ApplicationTask()
Os_TrapIsrEpilogue()

tried to debug everyway possible in PHY_665A but somehow I believe, when Phy_665a_Init is called I am not able to enter SPI ISRs as well. 

Let me know if any supporting project or files needed. 


0 Kudos
Reply
7 Replies

2,110 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

I have posted the description of your issue to a SW team. So far I haven't received an answer. As soon as I will receive an answer, I will definitely reply to you.

Thank you for your patience.

With Best Regards,

Jozef

0 Kudos
Reply

2,071 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

unfortunately there is still no answer from the software team. As soon as I will receive an one, I will definitely reply to you.

Thank you for your patience.

With Best Regards,

Jozef

0 Kudos
Reply

2,028 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

I apologize for the delay. I have just checked our internal community, but there is still no answer from the SW team. I have just sent them a reminder. As soon as they will answer me, I will definitely reply to you.

Thank you for your patience.

With Best Regards,

Jozef

0 Kudos
Reply

2,018 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

please see below an answer from the SW team I have just received. 

DESCRIPTION

It might be an initialization issue? Are the dependency drivers initialized (SPI, GPT,ICU, MCL, MCU).

With Best Regards,

Jozef

0 Kudos
Reply

2,019 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

please see below another answer from the SW team I have just received. 

DESCRIPTION

Please inform us about which version of BMS SDK and RTD drivers are you using.

Please make sure to have all the MCAL-layer drivers initialized prior to Phy_665a initialization: (Icu, Mcu, Mcl, Spi, Gpt, OsIf, Platform, Port, Rm). You can use an Tresos/S32DS example as a reference.

Please make sure you have the interrupts configured as specified in the user manual and that the interrupt controller is initialized and working.

Spi driver shall be configured to work in asynchronous mode.

With Best Regards,

Jozef

0 Kudos
Reply

1,976 Views
pjadhav21
Contributor II

Thank you so much for the response team. I was able to fix the issue, it was more of MCAL initialization sequence issue.

1,939 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

great. I am glad, that your issue is solved. Thank you for letting me know. I will inform the SW team.

Have a nice day.

With Best Regards,

Jozef

0 Kudos
Reply