How to pull low or high pins on S32G274A to select SPI_AP for SJA1110?

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

How to pull low or high pins on S32G274A to select SPI_AP for SJA1110?

596 Views
yangjinzhuang
Contributor IV

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:

yangjinzhuang_0-1731894811313.png

    By default, SJA1110 worked as SPI_HOST, so I think that the pin DSPI5_CS0 is pulling low,

yangjinzhuang_1-1731895003400.png

    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

 

 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

564 Views
carlos_o
NXP TechSupport
NXP TechSupport

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.

carlos_o_0-1732056995977.png

[Page 591, S32G2 Reference Manual, Rev. 8, 02/2024]

 

Let me know if you have more questions.

 

0 Kudos
Reply