cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-MKI227KA WHO_AM_I Register Value does not match

JeffWelder
Associate II

I am trying to use Unico 9.14.6.0 to get the evaluation module to work for the LSM6DSV16X.
But I am getting an error that says it's an unexpected device based on the WHO_AM_I register.

  • STEVAL-MKI109V3 updated to v3.48.3
  • STEVAL-MKI227KA (Labeled STEVAL-MKI227AA on board)

    I have switched the jumpers to the SDx SCx but that didn't seem to work either. 
    Tried both mac and windows.

    SCR-20230710-mlqq.png

    Any help would be appreciated
18 REPLIES 18
niccolò
ST Employee

Hi @JeffWelder ,
Welcome to ST community =D

the issue you encountered is really strange,
could you check if it works with other adapters?
also, can you share a picture of the setup?

Niccolò

JeffWelder
Associate II

Hi Niccolò,

I only have this adapter unfortunately.
I probed the SCx and SDx lines and don't see any activity on this brand new dev kit. The lines just go high when you click connect, and low when you close the error.
Edit: Upon moving the jumpers back to QV, I see some activity, but still get the same WHO_AM_I error. 
Attached is an image of both.

Wondering if there's anything I can try.
PXL_20230711_151539423.jpgSCR-20230711-kmfp.png

JeffWelder
Associate II

It looks like the chip is being wrongfully configured.

It tries to put it into 3-wire SPI, which appears successful, but doesn't read or write correct values, failing the WHO_AM_I register test.

If I hotplug the adapter board after this configuration, I can successfully see the response of 0x70 on the WHO_AM_I register on a logic analyzer, but the GUI sees this as 0xFF since it is expecting a 3-wire SPI response.

WHO_AM_I.png

 



JeffWelder
Associate II

@niccolò 
In leiu of a software solution, if you could help me find a download link for the Unico version used in the demo webinar (Anyone can build smarter applications with this intelligent IMU), it would be greatly appreciated.

GUI Version: 9.14.0.0
Firmware Version V3.47.1e

Thanks,
Jeff

Hi @JeffWelder ,

the older versions of Unico are not available to me, but I asked a colleague that works with UNICO for help, I'll get in touch as soon as he replies.

I'm not able to spot anything wrong with what you are doing, the only thing I could suggest is to uninstall and reinstall Unico on pc and reflash the board with its firmware, if you havn't already tried it.

Niccolò

JeffWelder
Associate II

@niccolò 
Any update from your colleague?

I have the STEVAL-MKI227KA working wired into my custom hardware, but want to test the advanced features using the GUI.

Federica Bossi
ST Employee

Hi @JeffWelder ,

We used also an older version of Unico and a Mac pc but we didn't have any problem.

Do you have a STEVAL of another product to see if it works? If not, can you try to replicate the test using another PC?

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
JeffWelder
Associate II

Hi @Federica Bossi,
I have tried to use Unico 9.14.6 on both Windows and Mac with no success.

I just saw Unico version 9.15.0 was released for Windows, so I downloaded the ProfiMEMSToolV3.53.3_00_08000000.bin to the dev-kit through STM32CubeProgrammer in DFU mode, then tried to connect to the device on my windows machine. I still get Error WHO_AM_I register does not match on both computers.

I don't have another STEVAL board of this form-factor to try, but I can guarantee the STEVAL-MKI227KA hat attached works via testing with my hardware. Happy to try any more suggestions.

For funsies, I tried a stm32nucleo with a x-nucleo-iks02a1 hat, with the STEVAL-MKI227KA plugged in, but that didn't recognize the motherboard.

Federica Bossi
ST Employee

Hi @JeffWelder ,

Can you give me more details about hardware and software you used for this test: For funsies, I tried a stm32nucleo with a x-nucleo-iks02a1 hat, with the STEVAL-MKI227KA plugged in, but that didn't recognize the motherboard.

Thanks

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.