1 Reply Latest reply on Dec 21, 2015 10:23 AM by user_1377889

    multithread

    ross.atkinson

      hi

         

      I am using a PSOC cy8c29466 collecting data from a spi adc. I am bit bashing the IO to generate the SPI interface. my question is

         

      can I get the this route to run alone in a single thread  and store the values in registers. and write another thread for the uart to read the registers. or is this PSOC single thread only?

         

      regards

         

      Ross

        • 1. Re: multithread
          user_1377889

          Welcome in the forum, Ross!

             

          Multi-threading requires an RTOS (Real-Time Operating System) which is a bit difficult to make with only two registers and a stack pointer  on an 8-bit cpu, I would really suggest you to use a more modern PSoC like the PSoC4-M which comes with a prototyping kit and a pioneer kit. Both boards allow for debugging which is not as easy in the world of PSoC1.

             

           

             

          Bob