Open mfinmuch opened 3 years ago
Hi @anangl,
This issue, marked as an Enhancement, was opened a while ago and did not get any traction. Please confirm the issue is correctly assigned and re-assign it otherwise.
Please take a moment to review if the issue is still relevant to the project. If it is, please provide feedback and direction on how to move forward. If it is not, has already been addressed, is a duplicate, or is no longer relevant, please close it with a short comment explaining the reason.
@mfinmuch you are also encouraged to help moving this issue forward by providing additional information and confirming this request/issue is still relevant to you.
Thanks!
Recently I am trying to use nrf52840 to implement SPI slave on zephyr But I have a problem In Nordic's SPIS example, it will go to
spis_event_handler
when an interrupt occurs Inspis_event_handler
, judge whether the transmission has been completed, as followif (event.evt_type == NRF_DRV_SPIS_XFER_DONE)
I want to implement this interrupt function on zephyr But at present zephyr SPIS I have not seen an example of event handler Only simplespi_write
andspi_read
can be used to write/read And in \zephyr\drivers\spi\spi_nrfx_spi.c, I saw a function that does the same thing as thespis_event_handler
of the Nordic example as followsHow to reference this event_handler in the main function in the sample?
Thanks, PYL