MPC5746R   DSPI

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

MPC5746R   DSPI

Jump to solution
1,295 Views
shanescott
Contributor III

In the IO Signal Table some values for MSCR.SSS are blank.  For example  PK1 has a blank value for DSPI_0  SIN.

The reset value is listed as 0 (GPIO).  How should this be set to use this pin as SIN?

 

Also, There are not yet a lot of examples for the MPC5746R included with the S32 IDE so I have been using the MPC5748G examples as a reference but there are some significant differences in the SIUL.  Is there a better MPC5xxx relative to reference?  In particular I am currently setting up DSPI_0 as a master.

 

Thanks,

Shane

Labels (1)
0 Kudos
1 Solution
941 Views
martin_kovar
NXP Employee
NXP Employee

Hi,

if you want to use PK1 as a DSPI_0 SIN_0 you have to use following settings:

SIUL2.MSCR0_255[161].R = 0x308C0000;

- OERC = 11 - Full drive strength without slew rate control

- ODC = 00 - Disabled (high impedance for turning off the pin or using it as an input)

- SMC = 1

- IBE = 1 - Input buffer enabled

- WPUE = 1 - pull-up enabled

- SSS = 0 (because there is not any value for SSS in IO Signal table, you do not change this value)

Please look at the MPC5775K DSPI example. There are more similar SIUL2 settings.

MPC5775K DSPI_with_interrupts S32DS 

If you have any other questions, please feel free to write me back.

Regards,

Martin

View solution in original post

0 Kudos
2 Replies
941 Views
shanescott
Contributor III

Thanks Martin

0 Kudos
942 Views
martin_kovar
NXP Employee
NXP Employee

Hi,

if you want to use PK1 as a DSPI_0 SIN_0 you have to use following settings:

SIUL2.MSCR0_255[161].R = 0x308C0000;

- OERC = 11 - Full drive strength without slew rate control

- ODC = 00 - Disabled (high impedance for turning off the pin or using it as an input)

- SMC = 1

- IBE = 1 - Input buffer enabled

- WPUE = 1 - pull-up enabled

- SSS = 0 (because there is not any value for SSS in IO Signal table, you do not change this value)

Please look at the MPC5775K DSPI example. There are more similar SIUL2 settings.

MPC5775K DSPI_with_interrupts S32DS 

If you have any other questions, please feel free to write me back.

Regards,

Martin

0 Kudos