Need help to understand if this is RPi related issue or if it something to do with.... connection/wiring or pull-ups. I am not sure.
Info:
- Host: Raspberry Pi 3 B 1.2v
- Jumpers Config: default.[Factory Set][J37,J38 OPEN]
- OS: raspios_full_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-full
- Linux raspberrypi 5.10.17-v7+ #1421
- Dev Kit: SE050 ARD Dev Kit.
- I2C: ENABLED
- Remote GPIO: ENABLED
I2C arm baud rate/speed:
~/>cat /boot/config.txt
dtparam=i2c_arm_baudrate=10000
Some more commands and output for more info:
~/>i2cdetect -l
i2c-1 i2c bcm2835 (i2c@7e804000) I2C adapter
~/>i2cdetect -F 1
Functionalities implemented by /dev/i2c-1:
I2C yes
SMBus Quick Command yes
SMBus Send Byte yes
SMBus Receive Byte yes
SMBus Write Byte yes
SMBus Read Byte yes
SMBus Write Word yes
SMBus Read Word yes
SMBus Process Call yes
SMBus Block Write yes
SMBus Block Read no
SMBus Block Process Call no
SMBus PEC yes
I2C Block Write yes
I2C Block Read yes
~/> i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
~/> ls -l /dev/i2c-1
crw-rw-rw- 1 root i2c 89, 1 Jul 13 19:15 /dev/i2c-1
$..../simw-top_build/raspbian_native_se050_t1oi2c/bin > ls -l
.
.
-rwxr-xr-x 1 pi pi 28496 Jul 13 09:52 se05x_Minimal
.
.
$..../simw-top_build/raspbian_native_se050_t1oi2c/bin > sudo ./se05x_Minimal /dev/i2c-1
App :INFO :PlugAndTrust_v03.03.00_20210528
App :INFO :Running ./se05x_Minimal
App :INFO :Using PortName='/dev/i2c-1' (CLI)
smCom :ERROR:Failed writing data (nrWritten=-1).
smCom :ERROR: - Error in I2C Write.....
smCom :ERROR:phNxpEseProto7816_SendRawFrame Error phNxpEse_WriteFrame
smCom :ERROR:TransceiveProcess Transceive send failed, going to recovery!
smCom :ERROR:phNxpEseProto7816_Open failed
smCom :ERROR: Failed to Open session
sss :ERROR:SM_Connect Failed. Status 7012
App :ERROR:sss_session_open failed
App :ERROR:ex_sss_session_open Failed
App :ERROR:!ERROR! ret != 0.
Wiring Info:
Cable length of 4 wires: > 2.5 inch. Like a generic length female-to-female wire-length.
Please, help is needed.
Regards