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
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
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
Hello Ashish4525,
First, please make sure your board is working correctly. Please review the following post.
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
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
Dear Nxp's Team
I am waiting for your response .
B.R
Ashish