how to config sja1105

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

how to config sja1105

Jump to solution
2,171 Views
1693275120
Contributor II

hi

   I want to know how to config the sja1105qel

   I had download SJA1105x -tool from codeAurora ,i use simplePQRS.py and converter.py, then i get         simplePQRS_SJA1105QS.c   ,but i don't know what to do in the next stage

SJA1105_tool.png

now i use S32DS PA to develop MPC5748g,  how to use  spi  to config   sja1105?

0 Kudos
1 Solution
2,046 Views
1693275120
Contributor II

hi bpe

   thanks for helping. Just now, I solved the problem.

   I get the configuration table from  simplePQRS_SJA1105QS.c,just like this 

         static uint8_t configBurst0_0[65*4] = {0x80,0x20,0x00,0x00,...}

         static uint8_t configBurst0_1[65*4] = {0x80,0x20,0x04,0x00,...}

         static uint8_t configBurst0_2[65*4] = {0x80,0x20,0x08,0x00,...}

         static uint8_t configBurst0_3[29*4] = {0x80,0x20,0x0C,0x00,...}

   Then,i use spi send the table into sja1105, i read the register value successfully, and it work well.

.

   

View solution in original post

0 Kudos
3 Replies
2,046 Views
bpe
NXP Employee
NXP Employee

Can you please mention the NXP package identifier that provided the directories and files displayed on your screen capture or the exact link to CodeAurora where you downloaded this software from?

Regards,

Platon

0 Kudos
2,047 Views
1693275120
Contributor II

hi bpe

   thanks for helping. Just now, I solved the problem.

   I get the configuration table from  simplePQRS_SJA1105QS.c,just like this 

         static uint8_t configBurst0_0[65*4] = {0x80,0x20,0x00,0x00,...}

         static uint8_t configBurst0_1[65*4] = {0x80,0x20,0x04,0x00,...}

         static uint8_t configBurst0_2[65*4] = {0x80,0x20,0x08,0x00,...}

         static uint8_t configBurst0_3[29*4] = {0x80,0x20,0x0C,0x00,...}

   Then,i use spi send the table into sja1105, i read the register value successfully, and it work well.

.

   

0 Kudos
2,046 Views
1693275120
Contributor II
0 Kudos