Hello,
My question is, can I use this pins for MOSI and MISO even If they are on different ports?
No problem to do that.
Kenneth
Hi Kenneth,
I have problem, SPI is not working properly.
When I look at oscilloscope, I see chip select and clock working good.
First I send data via MOSI, config data for temperature sensor, and then I read temperature data from MAX31865 temperature sensor. But I see nothing on this line. Do you have idea why? I tested that code on the raw sensor connected to my Ublox BMD 340 eval board (nrf52840 chip) , but now I want to test via debbuger to my PCB board that uses BMD 340 module. Do you have idea why I don't see anything on MOSI line?
Martix said:Do you have idea why I don't see anything on MOSI line?
No. Does it work when used on different pin or no temperature sensor connected?
Kenneth
Yes, it completly works, I changed to spi2. Now MOSI works, and on MISO there are bits but with 2V level and they cant be detected.
I dont know what to do now.
If any output pin don't reach VDD level, then that means that the external circuitry is drawing current from the pin. You may try to power the sensor board with VDD and GND from the DK.
Kenneth