how to config sja1105

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to config sja1105

ソリューションへジャンプ
4,096件の閲覧回数
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,971件の閲覧回数
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,971件の閲覧回数
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,972件の閲覧回数
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,971件の閲覧回数
1693275120
Contributor II
0 件の賞賛
返信