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
now i use S32DS PA to develop MPC5748g, how to use spi to config sja1105?
Solved! Go to Solution.
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.
.
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
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.
.