TPM SPI issue

Fabio Estevam festevam at gmail.com
Wed Nov 29 14:17:02 CET 2023


Hi Niek,

On Wed, Nov 29, 2023 at 9:51 AM niek.nooijens at omron.com
<niek.nooijens at omron.com> wrote:
>
> Hi there
>
> I have the same issue as here:
> https://community.infineon.com/t5/OPTIGA-TPM/I-MX8-TPM-SLB9670-SPI-Com-Error/td-p/472533
>
> apparently the CS is released in between responses. Can you help me solve this?

Which SoC are you using?

In case you are using drivers/spi/mxc_spi.c, there was a commit in the
kernel driver that
allowed to put the CS line in low when idle:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.3&id=6a983ff5102ff0d859df05ca3f5cf2f6a17c0fad


More information about the U-Boot mailing list