dspi in LS1046A

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

dspi in LS1046A

3,365 次查看
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 项奖励
回复
3 回复数

3,354 次查看
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 项奖励
回复

3,341 次查看
rashmikj
Contributor III

how to check in Linux??

标记 (1)
0 项奖励
回复

3,333 次查看
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 项奖励
回复