Skip to main content
Associate III
Feb 27, 2025 3:05 PM UTC
Solved

X-NUCLEO-53L8A1 with NUCLEO-F401RE on Ubuntu

 

Hello everyone,

I am very new to the STM ecosystem and don’t know much about it. I am using an Ubuntu PC and trying to work with the X-NUCLEO-53L8A1 expansion board and NUCLEO-F401RE.

There is a software package available for VL53L8CX to detect the presence of someone: "https://www.st.com/en/embedded-software/stsw-img042.html". I downloaded it along with the Linaro GCC toolchain from Linaro Releases. After running the Makefile and trying to start the application, I encountered the following error: "./spdkit: 1: Syntax error: Unterminated quoted string".  At first, I thought this was a command-line issue, but I suspect something else is wrong. Since the X-NUCLEO-53L8A1 communicates via I2C, I checked for available devices with: "sudo i2cdetect -y1".

However, no I2C devices were detected. I also noticed that my NUCLEO board is recognized in ST-Link mode, which might be preventing proper I2C communication(i am not sure !)

I’m a bit lost and not sure where to start troubleshooting. Most tutorials I found are for Windows.

Has anyone worked with this setup before? Any help would be greatly appreciated!

This topic has been closed for replies.
John E KVAM
John E KVAMBest answer
ST Employee
Mar 5, 2025 12:21 AM UTC

I connect my L8 satellite board as in the enclosed document. (Sorry it's not a very good doc - just my notes.)

But I did cheat a bit. 

 

JohnEKVAM_0-1741133909807.jpg

Notice that LPn is jumpered to ​J3-1V8 and the center pin. I needed to remove the jumpers on the other side of the board. (I needed a flat front.)​

But it does work a treat. 

- john

 

If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

2 replies

Zhiyuan.Han
ST Technical Moderator
Mar 4, 2025 7:05 AM UTC

Hi 

From your description, sounds like you are trying to connect STM32F401+X-NUCLEO-53L8A1 to your Ubuntu system.

Normally we don't setup test environment as this for Linux test, 

  • For HW, you need a Raspberry Pi instead of a STM32 board. then you need to connect X-NUCLEO-53L8A1 to Raspberry Pi by flying wire.
  • For the SW, you can either use your Ubuntu system to set up the cross compile to Raspberry Pi code compilation or you can compile the code on Raspberry Pi directly.

 

Br

Zhiyuan.Han

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.
John E KVAM
John E KVAMBest answer
ST Employee
Mar 5, 2025 12:21 AM UTC

I connect my L8 satellite board as in the enclosed document. (Sorry it's not a very good doc - just my notes.)

But I did cheat a bit. 

 

JohnEKVAM_0-1741133909807.jpg

Notice that LPn is jumpered to ​J3-1V8 and the center pin. I needed to remove the jumpers on the other side of the board. (I needed a flat front.)​

But it does work a treat. 

- john

 

If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.