Tool/software: TI-RTOS
Hi,
We're implementing TCAN4550 to our new measuring device to, at this moment, just to receive traditional 8byte payload SAE1939 or equal messages. It would be optimal for us to fetch all message related data, header payload etc, with a single SPI-DMA sequence. After a brief study of the data sheet and example code downloaded from TI, I wonder if that "single DMA" is possible? Was FIFO in use or buffer, you seem to read RXF0S or RXBC first in ReadNextFIFO() and ReadRXBuffer() and then header and data. So are messages in both cases stored into FIFO, which actually looks like a 'circular buffer' to me and thus code needs to fetch the address of 'TAIL' to read the message, while new messages are stored to 'HEAD'?
Best Regards,
risto