Posted on December 08, 2017 at 06:00 The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on December 11, 2017 at 19:30Oh!! Finally, the problem is solved just by 3 lines of code:SPI_send(0x25,0x90);SPI_send(0x23,0x01); SPI_send(0x20,0x67);I think 'force reboot'ing solved my problem(first bit of register 0x25). Now it is working e...
Posted on December 11, 2017 at 18:04The big question is: Why my MISO pin is always high? Is it related to configuration? Or should I write something to lis3dsh before it uses the MISO line?
Posted on December 11, 2017 at 16:46Yes, I also think the problem is in config. I tried exactly the code by Andrei Chichak to read WHO_I_AM register. void SPISend(uint8_t* transmit, uint8_t* receive, uint16_t length) {HAL_StatusTypeDef status;HAL_GP...
Posted on December 09, 2017 at 18:45Hi! I tried to see MOSI and MISO signals. There was something on MOSI line, but MISO line was like pulled up high. I think that's why it gives me ones. Could it be some problem of HAL libraries? I can't seem to fi...