SPI peripheral doesn't work if the code is compiled in Ubuntu but works in Windows

Hi,

I'm working on a BLE project with NCS v2.1.1 running on nRF52832. The project includes several I2C and SPI sensors. If I compile and flash the project in Windows 11, everything works fine, but if I compile the exact same project in Ubuntu 22.04.3, the SPI doesn't work and I will get "spi_nrfx_spi: Timeout waiting for transfer complete" error.

[00:00:01.707,550] <err> spi_nrfx_spi: Timeout waiting for transfer complete
[00:00:01.707,580] <err> max30003: MAX30003 SPI read failed

[00:00:01.707,580] <err> max30003: MAX30003 info read failed

[00:00:01.707,611] <err> max30003: MAX30003 not found

[00:00:01.707,641] <err> max30003: MAX30003 SPI write failed

[00:00:01.707,641] <err> max30003: MAX30003 reset failed

[00:00:01.707,672] <err> max30003: MAX30003 init failed

[00:00:01.707,672] <inf> main_c_log: max30003 init failed

[00:00:01.707,702] <err> max30003: MAX30003 SPI read failed

[00:00:01.707,702] <err> max30003: max30003 ecg channel off failed

I'm using the same SDK (v2.1.1) and toolchain (v2.1.1) in both OS

I've attached the pristine build log in both OS

5076.logs.zip

Parents Reply Children
No Data
Related