Hi,
Does the SPIS generate interrupt for every byte of data receive ?
What kind of interrupt of event that SPIS will generate for data received ?
Please advise
Hi,
Does the SPIS generate interrupt for every byte of data receive ?
What kind of interrupt of event that SPIS will generate for data received ?
Please advise
Hi,
Yes, you can set the MAXRX to 1 and enable the interrupt that can be triggered for ENDRX event. Then you will get an interrupt for every byte received .
Hi,
Yes, you can set the MAXRX to 1 and enable the interrupt that can be triggered for ENDRX event. Then you will get an interrupt for every byte received .
Hi,
If what is the maximum delay to trigger interrupt once byte of data is received ?
Please advise.
Thanks.
Br,
KonSang
Worst case interrupt latency has to include softdevice interrupts. That would put a usable SCK frequency down to somewhere in the single-digit kHz range.
You rather want to use a maximum size RX buffer for EasyDMA and use the RXD.AMOUNT register to read how many bytes where sent in a frame.
Hi,
I need to read the SPI data for every byte data received before the SS pin is asserted.
I know to do this, I cannot use the driver because of semaphore safe access. But, I can force to direct access the memory without using the driver.
Can you guide me or show me an example code to do this ?
Thanks.
Br,
KonSang