3 Replies Latest reply on Nov 15, 2017 12:06 AM by user_1377889

    SPI Slave problem

    m.jucevicius_2864716

      Hello everyone : )

       

      I have a problem with SPI slave in psoc creator, related to my inexperience. In my main() program, I have calculated array of 0's and 1's, and I need to SPI it out     (communication controlled by external clock bursts LGC-clk).

      I believe must change my array to a binary data word, for this to work?

       

      The main question is: Can I simply write my data word to SPI module using Code? If so, why is it mandatory to connect MOSI input and what should i connect to it?

       

      Thanks guys