AnsweredAssumed Answered

Question about SPI_1 module can not output signal at PIN PA[6](clock) and PA[7](MOSI) in S32R274

Question asked by Huaqiang Zheng Employee on Mar 13, 2019
Latest reply on Mar 18, 2019 by Huaqiang Zheng

Hi

 

The S32R274 has two SPI devices: SPI_1 and SPI_2, and there is no difference in the RM description.

I found that using the same SPI and pin(SIUL2) register configuration, other pins can output clock and data signals, but PA [6] and PA [7] cannot output signals, as shown in the following table:

 

PIN

Module

function

Register value

OUTPUT

PA[6]

SPI_1

SCK

0x12840001

Without output signal

PB[2]

0x12840004

Output clock signal

PA[7]

MOSI

0x12840001

Without output signal

PA[9]

0x12840004

Output data signal

PA[0]

SPI_2

SCK

0x12840002

Output clock signal

PA[11]

0x12840001

Output clock signal

PA[1]

MOSI

0x12840002

Output data signal

PA[12]

0x12840001

Output data signal

SPI_1 supports the following pins:

  CLK:   PA [6], PB [2]

  MOSI: PA [7], PA [9]

  MISO: PA [8], PB [3], PH [7]

SPI_2 supports the following pins:

  CLK:   PA [0], PA [11]

  MOSI: PA [1], PA [12]

  MISO: PA [2], PA [13]

Chip selections pins and data input pins are not listed.

When use any SPI_2 configuration or SPI_1 use PB[2] as clock and PA[9] as output, the signal is normal, but PA[7] and PA[6] cannot output signal under the same configuration.

I used the correct pin register MSCR and SPI register configuration according to the reference manual, and I saw the register write the correct value in debug mode in real time.

Thanks!

Outcomes