I am working with ST micom and have some questions on SPI. I have asked on ST forum that I can see SCLK when micom is master and sending data, but I can't when micom is master and receiving data. Then someone answered that I should send null data to active SCLK even when I want to receive data. Is this right method? And another question. When master micom is sending out clock, how micom can know if signal on MISO is valid data or not? I have tried above method but SPI interrupt does not occur when I have set receive buffer not empty interrupt. though data in MISO is data not valid. Please answer these questions. Thanks.
- posted
16 years ago