Anonymous
Not applicable
Dec 21, 2015
07:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 21, 2015
07:13 AM
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
Labels
1 Reply
Dec 21, 2015
10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 21, 2015
10:23 AM
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