Hi,
I just started working with Zephyr and having some problems right out of the gate.
Board: Nordic nRF52840DK
Example: i2c/spi_fujitsu_fram
Branch: Main
When I'm using the SPI examples, I cannot see any activity on the pins. I have checked the SCK pin (p0.31) and nothing is happening, it's just constantly low. The only changed I've done is to replace DT_ALIAS with DT_NODELABEL to get it to build and put an infinate loop around the first SPI function call to see the activity with my logic trace.
After testing the SPI example, I decided to check out the I2C example to see if that works, and it does! I can see activity on the SCL pin. So just to do some sanity checking I wanted to test i2c1, since it's using the same pins as spi1, but when I changed to i2c1 I cannot build the application.
So to the questions:
1. Does anyone know why the SPI example doesn't work? I have seen this thread but as CONFIG_SPI=y is already in the prj.conf file and adding CONFIG_SPI_1=y breaks the build, it doesn't seem to be a fix for me.
2. Why can't I change to i2c1 in the I2C example? It's not using SPI so it shouldn't be a conflict.
I should probably use one of the release branches but then I get errors when building all examples so I've just stuck with the branch that has provided the least problems when building.
Thanks,
Elin