dspi in LS1046A

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

dspi in LS1046A

3,367 Views
rashmikj
Contributor III

We have a infineon TPM2 connected to dspi of LS1046A processor in our custom card. We are using PCS1 as chip select . We have modified the dts file accordingly in uboot & also enabled TPM in defconfig.

When we try to read through tpm command in uboot, it says " could not find tpm " error.

We 

Also when we monitor PCS1, it goes low as soon as we power on our card. Do we need to configure anything else.

Kindly help.

0 Kudos
Reply
3 Replies

3,356 Views
Pavel
NXP Employee
NXP Employee

Usually the LS1046a u-boot does not support DSPI. Trusted Platform Module (TPM) is not command for u-boot.

0 Kudos
Reply

3,343 Views
rashmikj
Contributor III

how to check in Linux??

Tags (1)
0 Kudos
Reply

3,335 Views
Pavel
NXP Employee
NXP Employee
  1. DSPI under u-boot:

The LS1046 DSPI is not used on the LS1046ARDB board.

 

See the following page about using DSPI driver under u-boot on the LS1043a board:

https://lists.denx.de/pipermail/u-boot/2015-November/233196.html

 

Use similar code on your LS1046a board under u-boot.

 

  1. DSPI under Linux:

Enable DSPI in kernel menu. See attached file.

See information about SPIDEV using on the following page:

https://linux-sunxi.org/SPIdev

0 Kudos
Reply