I'm doing a neo pixel project & need to call a long table but it has to read from less cycles.Because I'm reading this table between data transfer in LEDs so time is critical. Is there any method to reduce some cycles? I use modern PIC16F1508 with CLC module. It has some enhanced instructions like "MOVLP Move literal to PCLATH" etc...
I use 16Mhz clock so instruction cycle will be 250nS.
I'm doing a neo pixel project & need to call a long table but it has to read from less cycles.Because I'm reading this table between data transfer in LEDs so time is critical. Is there any method to reduce some cycles? I use modern PIC16F1508 with CLC module. It has some enhanced instructions like "MOVLP Move literal to PCLATH" etc...
I use 16Mhz clock so instruction cycle will be 250nS.
There are a number of different NeoPixel examples on the MicroChip Xpress Examples site, using the CLC means that's most of it is processor independent, so you have plenty of time (relatively) to deal with table reads.
There's even an 18F example that uses DMA as well as CLC.