We are configuring SPI using EBtresos tool autosar package RTD 3.0.0.0. There are two types of buffers that is configurable:- Internal buffer and External buffer.
1. Is this internal buffer an array defined by Spi driver files in our software? How is it different from a user defined array in terms of speed?
2. Which is better/efficient? IB or EB
3. For IB, we have to first write to the IB a user defined array using Spi_WriteIB and then do Spi_SyncTransmit....whereas in EB, we can , use Spi_SetupEB() to setup this user defined array as the buffer and do Spi_SyncTransmit to do sync transmission. Which is faster/better, i think Eb only.
4. pls tell the pros and cons of both
Hi @Guna,
I guess it depends on the usecase.
The Quality Package provides the expected execution time though.
But in IB after we have set up the array we have to write it into IB using Spi_WriteIB, we cannot access the IB directly right? the same array we can setup as EB and and modify and Transmit the data?
So, logically EB is faster right?
Hi @Guna,
IB is setup by the driver, whereas EB is setup by the application SW.
The RTD comes with Quality Package, where you can find RTD_SPI_ProfileReport.xlsx with the execution time of each API.
Regards,
Daniel