Hello,
I got the info that it needs to pulling SPI_HAP_SS0_N low (whitch connected to the pin PB_14/LLCE_LPSPI2_PCS0/I2C3_SCL/RCON21 of S32G274A) to select SPI_AP for SJA1110.
I can find it's pin on S32G274A as the follow show:
By default, SJA1110 worked as SPI_HOST, so I think that the pin DSPI5_CS0 is pulling low,
Now, I can't find the way to reset pin DSPI5_CS0 to pull high and how to pull low pin PB_14/LLCE_LPSPI2_PCS0/I2C3_SCL/RCON21 on S32G274A.
I can't find it in the SJA1110 driver's source code(https://github.com/nxp-archive/autoivnsw_sja1110_linux) on S32G274A, can you tell me where is to pull low pin and how to pull low pin on S32G274A
Hi @yangjinzhuang,
You can configure it directly to the register of the S32G, according to the chapter 16.3.12 SIUL2 Multiplexed Signal Configuration Register (MSCR0 - MSCR101) you need to enable the pull option and select if it is pull up or pull down.
[Page 591, S32G2 Reference Manual, Rev. 8, 02/2024]
Let me know if you have more questions.