Hi there,
I've found this example project, which implements a SENT protocol receiver, using FTM and DMA:
Can someone share some experience with the SENT protocol interface? I'm wondering how stable this works. What are the limits based on your experiences? What conditions have to be considered when implementing more SENT receivers? Is it possible to use all the FTM channels? Am I limited to the number of FTMs of the controller?
Using the provided concept, is it possible to handle up to 8 sensors by receiving their data via SENT on a S32K14x? I will try to connect some more SENT transmitters, but I have doubts that this can be handled easily.
I'm working on a proof of concept and I look forward to hear about your experiences and opinions.
kind regards
已解决! 转到解答。
Hi,
The example is just for a reference, you would need to test it with 8 channels.
Both the FTM and the DMA work without CPU load, just the data needs to be processed.
All the FTM channels can be used in the Input Capture mode (RM, rev12.1, Table 47-1. FTM instances and features).
There are up to 16 DMA channels
But not every FTM channel has its DMA-MUX transfer request
(S32K1xx DMA Interrupt Mapping.slsx)
Please take a look at Section 18.1.1 Seamless eDMA transfer.
Regards,
Daniel
Hi,
The example is just for a reference, you would need to test it with 8 channels.
Both the FTM and the DMA work without CPU load, just the data needs to be processed.
All the FTM channels can be used in the Input Capture mode (RM, rev12.1, Table 47-1. FTM instances and features).
There are up to 16 DMA channels
But not every FTM channel has its DMA-MUX transfer request
(S32K1xx DMA Interrupt Mapping.slsx)
Please take a look at Section 18.1.1 Seamless eDMA transfer.
Regards,
Daniel