to reuse the buffer and reduce the ram, I do not wanna to use more than two channels in a job.
I wanna to reuse the channel to reissue a spi communication in the SpiSeqEndNotification callback
the details is shown below
after i handle the data in the SpiSeqEndNotification callback ,i reissue a new seq but no response.
the MCU is S32K344
the RTD is RTD 2.0.0
Hello @LewisThin,
I'm not sure I understand.
Can you elaborate? Can you share the project?
Do you use two LPSPI instances, one as a master and one as a slave?
Do you measure the bus with an oscilloscope?
Regards,
Daniel
i am sorry i can not share the project.
you are right i configrated two spi instances, one is master (spi1) and the other is slave (spi2)
i connected the two spi to MC33664(NXP IC for battery AFE (33774) bridge)
i issue a communication on spi1 to MC33664, and then i received echo from 33664 and msg from 33774 (spi2)
then the spi sequence of spi2 was finished and the callback of spi2 SpiSeqEndNotification triggered.
I issued another communication on spi1 to MC33664, but no message received on SPI2
i do not use scope to test the wave of SPI, i will try it later.
I think it is crucial to know if MC33664 sends the data back.
You don't get any notification if the spi2 does not receive anything.
You can also poll the status of the Async transfer.
Regards,
Daniel