We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi i am a student tryin to read the data between two spi devices by tapping the lines in the middle please help me if anyone hav a code to read the ss,mosi,miso,sclk signals using GPIO they vl jst act lyk input port n read
When it comes to tapping SPI communication, you should configure your processor as a SPI slave with the corresponding settings as used on the SPI bus.
You will need two SPI interfaces if you are going to capture the data on both the MISO and the MOSI lines.
For exra points, use child language such as "vl jst act lyk input port n read" when turning in the project.
By the way - if you intend to read the signals using GPIO pins instead of SPI interfaces, that SPI communication better be slow.
It is no fun to implement a SPI slave in software. SPI is capable of many MHz while already low kHz speeds will start to be problematic in software.