How to test SPI(SCB) test without LCD? | Cypress Semiconductor
How to test SPI(SCB) test without LCD?
I am a newbie, working on PSoC 4 to communicate a sensor via SPI.
After reading and trying a lot of documents and example, I still cannot make one SPI example work. Without LCD, how could I test an SPI example?
To read register of my sensor, I need to select and deselect; write one byte address to MOSI, get one dumb byte from MISO, and the write one byte 0x00 to MOSI, the get my data back.
I set a GPIO as chip select pin, and connect MOSI to 3, MISO to 3, SCK to 0; and wrote the corresponding firmware, however cannot get nothing.
Could anyone help me and have a look?
Thank you very much!