Hello, support team:)
Currently I am working on SPI communication with LSM6DSOXTR.
CLK, MOSI, SS is working as expected. But there is no MISO signal.
0) All SPI PIN is configured as NRF_PIN_DISCON_NOPULL
1) SPI Read function
static int32_t lsm_read(void *handle, uint8_t reg, uint8_t *bufp, uint16_t len){ ret_code_t err_code; uint8_t s_tx_buf;
s_tx_buf = (reg | 0x80); // MSB 1 --> Read
spi1_xfer_done = false;
err_code = nrf_drv_spi_transfer(&m_spi_lsm, &s_tx_buf, 1, bufp, len); RETURN_IF_ERROR(err_code);
while (!spi1_xfer_done) { __WFE(); }
return DRV_ACC_STATUS_CODE_SUCCESS;}
2) WHO AM I register is 0x0FU.
It becomes 0x8F(MSB to 1: read). And It sent to MOSI.
And 16 bit clock is created correctly.
But there is no MISO signal.
