2024-07-02 11:37 AM
2024-07-03 07:58 AM
Hello @tarunprasadoff
The NUCLEO (STM32) must be programmed with compatible firmware with MEMS Studio.
You can check chapter 2.6 Hardware and firmware compatibility in UM3233.
NUCLEO-L476RG + X-NUCLEO-IKS4A1 can be used in AlgoBuilder in MEMS Studio.
Sensor evaluation firmware (DatalogExtended) is unfortunately not available for NUCLEO-L476RG, please check X-CUBE-MEMS1 package.
2024-07-09 05:56 PM
Hi Miroslav,
I have the same issue as the OP.
However I am using the NUCLEO-H503RB with the X-NUCLEO-IKS4A1A and I have been trying to build the application using STM32CubeMX with X-CUBE-MEMS1 using the "Device MEMS1 Applications" mode.
I am running the following:
I have also experimented with different X-CUBE-MEMS1 settings without success.
The "Board not identified" message is not helpful as it is.
I don't have at my disposal the NUCLEO-F401 board to compare against.
I don't know what is the root cause of the issue and what to look for:
The documentation is lacking a very important aspect which is establishing that all the prerequisites are met:
When attempting to establish communication with the board, what is MEMS Studio looking for? Is it trying to communicate with part of the code within the MCU or is it trying to communicate with the sensor devices over the I2C interface?
Can an incorrectly mapped GPIO between MCU and IKS4A1 be a problem (ie: swapped interrupt lines...)?
Are there any steps, documentation that can describe how the MEMS application on the board is supposed to work? How can I make sure it works on my board?
If the firmware and the hardware isn't the problem, then what would be next?
Any recommendations?
2024-07-11 05:35 AM
Hello @Apollo1,
Usually this kind of issue is caused by the firmware which is not working properly due to incorrect configuration in CubeMX.
Can you share your project and/or .ioc file. I can check it.
2024-07-11 06:14 AM
I do not have any project file. I have only connected the NUCLEO-L476RG to my windows device. I have the X-NUCLEO-IKS4A1 mounted on top of the NUCLEO-L476RG at the same time. I opened MEMS Studio and tried clicking on the Connect button in the Connect Tab after selecting the correct port number. This is the error that is being thrown. How do I successfully connect now?
2024-07-11 09:19 AM - edited 2024-07-11 09:58 AM
Hello Miroslav,
I will try to recreate the project, but in the meantime, can you provide some details which can describe what MEMS Studio is doing in order to establish and accept a connection?
PS. In your setup, will MEMS Studio be able to accept a connection when the sensor board (aka IKS4A1) is not connected to the NUCLEO board?
2024-07-15 05:55 AM
Hello @Apollo1
the MEMS Studio opens the serial port and send "CMD_Read_PresString" command to read presentation string. This string describes the firmware and MEMS Studio can adjust the GUI according to the connected firmware.
The firmware from X-CUBE-MEMS1 will not work properly without appropriate X-NUCLEO board connected so it will not able able to respond to the "CMD_Read_PresString" command and the connection will not be establisted.