how to config sja1105

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to config sja1105

跳至解决方案
4,085 次查看
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 项奖励
回复
1 解答
3,960 次查看
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 项奖励
回复
3 回复数
3,960 次查看
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 项奖励
回复
3,961 次查看
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 项奖励
回复
3,960 次查看
1693275120
Contributor II
0 项奖励
回复