Trying to communicate with UJA1169TK in S32k118evb

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

Trying to communicate with UJA1169TK in S32k118evb

1,820 Views
Ashish4525
Contributor II

Dear all

I am trying to communicate with UJA1169tk and using UJA1169 code of s32k142 sbc driver , which I have taken from S32ds example project ,so issue what I am facing is unable to see any data on logic analyzer.

So one of screenshot has function name SBC_GetEventsStatus and inside it SBC_data transfer(function return I am getting E_NOT_OK) E_NOT_OK means there is error.

Note:inside SBC_DATA transfer func my 

if( readData[1] != command[1])

{

status = E_NOT_OK;

}

is not geeting equal and it is return E_NOT_OK means error (and because of this return value my UJA1169TK is not getting intialized or powered on or working)

check the attachment for better understanding.

I am sharing snipped photo my code kindly check .

B.R 

Ashish

0 Kudos
Reply
6 Replies

1,785 Views
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Ashish4525,

I hope all is great with you. Thank you for using the NXP communities.

Could you please let me know if you are using a specific evaluation board? 

I would like to recommend the following post:

https://community.nxp.com/t5/S32K/Unable-to-communicate-with-UJA1169TK-F-3Z-by-Flexio-SPI/m-p/984088

Please note that the UJA1169TK device is obsolete. Please let me know if you need further information for a replacement device.

I hope this information helps.

Regards,

David

0 Kudos
Reply

1,770 Views
Ashish4525
Contributor II

Dear Diazmarin

I am using S32k1182Q048 evb .Can you help me with my probem or any example code can you share.

Even I have tried s32ds example but didn't work as I explained in previous post.

B.R

Ashish

 

0 Kudos
Reply

1,754 Views
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Ashish4525,

First, please make sure your board is working correctly. Please review the following post.

https://community.nxp.com/t5/S32K/issue-detecting-and-getting-started-S32K118EVB2Q048-in-my-PC/m-p/1...

Is your board working as expected?

If that is the case, you may review the following posts in which information about the UJA1169 is provided:

https://community.nxp.com/t5/S32K/S32k118-uja1169-Example-code/td-p/1883554

https://community.nxp.com/t5/S32K/How-to-enable-UJA1169-on-s32k118evb2Q048-ND/td-p/1862470

I hope this information helps.

Regards,

David

0 Kudos
Reply

1,696 Views
Ashish4525
Contributor II

Dear David 

I have tried all method and I am writing Tx buffer(0x00,0xFD) and trying to send in MSB first but in miso (in rx buffer I am getting (0xFF,0x00).Even I have tried writing other values also still rxbuffer is same.

It seems like I am still facing issues with communication between my microcontroller  and the UJA1169 chip, where the received data on the MISO line does not match what I expect.

Note: I am using autosar SPI configuration.

One of your member suggested me to take demo code ,but nothing works for your reference you can take a look over my previous and first query I asked in this same ticket.

 

So I request you kindly look into this.

v1 I am getting 5volt and vBAT I am getting 12.64 voltage

and  for powerup I am using 12volt too.

PFA for better understanding

B.R

Ashish

0 Kudos
Reply

1,657 Views
Ashish4525
Contributor II

Dear Nxp's Team

I am waiting for your response .

B.R

Ashish

0 Kudos
Reply

1,480 Views
Ashish4525
Contributor II
No response yet
0 Kudos
Reply