cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H5 - I3C access to IKS4A1

THANN.1
Associate II

Hello Folks,

sorry, I am quite desperate. I try to get my I3C code working, but the read consistently fails and returns a buffer with just 255s and a temperature of 350 degrees centigrade.

 

The weird thing is that the checks I put in work, so it looks like the assignment of the address worked. If I run the code without the sensor shield connected, the checks halt program execution.

 

This is the code I put together from two I3C examples - for the H503 Nucleo, there is no example for the IKS4A1 and the code at https://wiki.st.com/stm32mcu/wiki/Getting_started_with_I3C and in the AN is incomplete:

2 REPLIES 2
THANN.1
Associate II

A small update: I tried to read who_am_i, and in multiple different ways, always get this:

Name : who

Details:48 '0'

Default:48 '0'

Decimal:48

Hex:0x30

Binary:110000

Octal:060

 

Could this be related to a jumper problem with the IKS4A1?

 

THANN.1
Associate II

Hello, 

sorry to annoy re this - anyone can help?