Skip to main content
Graduate
April 8, 2022
Question

Hi!!! I am trying to communicate with STEVAL-MKI182V2 sensor with using NUCLEO-F446ZE Evaluation board through SPI communication

  • April 8, 2022
  • 0 replies
  • 704 views

0693W00000LxOBAQA3.jpg0693W00000LxO8kQAF.jpg0693W00000LxO8fQAF.jpgi am trying to read the WHO_AM_I (read only) register and transmitting the data ( 0x0F | 0x80 ) and receiving the data from slave (0x6A) while checking in oscilloscope, but here is the problem that when i am driving (MISO) output of slave into master, master can't able to capture the data correctly i have configured the master properly with CPOL and CPAH there is no any problem with timing but still master can't able to capture the data i have made changes with MISO pin configurations made the pin as pull-up and also pull-down checked in both cases but still the problem persists.

please find the attachment of Pics:

1)o/p when connected the MISO pin to sensor

2) data that i am transmitting from MOSI

3) data that Slave sending when MISO is not connected

Awaiting for your precious reply.

Thank you.

    This topic has been closed for replies.