Topic: SPI communication with Asus E15028 (Nuvoton NPCT750) via RPi 3
Hi,
I'm trying to talk to Asus E15028 with Nuvoton NPCT750 via Raspberry Pi, butalways get no data back (only zeros). Have somebody experience with this board? I found pinout here
WolfSSL is compiled with
--enable-wolftpm --enable-opensslextra --enable-libwebsockets --enable-certgen --enable-certreq --enable-certext --enable-pkcs7 --enable-cryptocb --enable-aescfb
and wolfTPM with
--enable-debug=io --with-wolfcrypt=../wolfSSL/inst --enable-nuvoton
I also see that wolfTPM can open /dev/spidev0.0 and sets 43MHz. I tried to connect WP and HOLD to Vcc and to GND (from more detailed pinout that I found in docs for compatible motherboard, is in attachment).
Output I always have:
pi@raspberrypi:~/build/wolfTPM/examples/native $ ./native_test
TPM2 Demo using Native API's
TPM2_IoCb: Ret 257, Sz 5
80 d4 00 00 00 | .....
00 00 00 00 00 | .....
TPM2_Init failed 0x101: TPM_RC_FAILURE: Commands not being accepted because of a TPM failure