We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi i have seen in pic micro controllers that the spi is directly configured without the special feature like PEC peripheral event controller which is used in xc164. and in manuals u r telling PEC is for efficient transfer. is it possible to write spi eeprom interface simply without using PEC module? only with eeprom and SSC registers?
Is it possible to write spi eeprom interface simply without using PEC module? The answer is yes.
The PEC is very similar to an interrupt driven DMA (basically an injected mov instruction). So this means your code must be called to service the data movement instruction (interrupt or polled) instead of the PEC.