Good evening!
I have two question about can communication.
First:
I have a one evaluation board with s32k344 and the transceiver chip for can is JA1043.
I understand that the transceiver working similar to TJA1153 , so i will need activate the pins for can if i want that the example work, is it correct ?
My second question is :
I activate the pins with RTD but the IDE told me that It couldnt find the Siul2_Port_Ip_Defines.h file.
Do i something wrong with the RTD ? Maybe i need activate another option that i dont see ?
Thank you in advance.
Q1.yes, you need to activate the pins for CAN transceiver(JTA1043).
please refer to JAT1043.fm for details.seems that you need to set STB_N & EN pins to high.
Q2. Have you added Siul2_Port to your Components?
BR!
Jim,
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thank you for you answer.
Where i could find the JAT1043.fm ?
on the other hand :
I activated this pins but I continue without send or received anything.
I checked with the oscilloscope and the micro send data by tx pin , but the can signal never change..
I attach my code, if you could give me some clue.
Thank you very much in advance.
you can find TJA1043 datasheet on this link.
also,I checked your example code,some configurations should be changed.
First.wrong PE clock setting.
and keep sending messages in while-loop
then test PAT6 & PTA7 waves.
BR!
Jim,
Thank you very much Jim.
Sadly, i find another problem. I changed the clocks and i tested the two can, but I received the same data in tx and rx. and never send it by can . I imagine that it is the behavior for loopback mode , but in my case i configure with RTD the normal mode so it is strange.
I am using a peak usb with this parameters:
8MHz and 500kbit/s
Do you have any idea?
The code is the same but i added your changes.
Kind regards .
Miguel
Hi Jim.
I discovered the problem, the JA1153 do a tx-rxd shortcircuit, if the transceiver detect a error.
I thought that the configuration for the transceiver JA1043 and JA1153 was the same, because i have the both eval board model : S32K3X4EVBQ257ND and S32K3X4EVB-Q257 . I thought that the unique difference between the boards was the debugger part.
Then , i resolved the problem with JA1043 , the code is working, I need to try more with the library for can.
So thank you very much !
But , if i want configure the JA1153 , where can i find the information for configure this transceiver ?
I try to look for in the google and the nxp website , but i found nothing.
Thank you very much for your help !
Happy to see the problem was solved,
Regarding the TJA1153 informations,it seems that you must sign the NDA ,and I have no right to provide these documents.
BR!
Jim,