This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCAN1145-Q1: Can I use DMA with SPI to send to write data to 10 registers?

Part Number: TCAN1145-Q1

Tool/software:

I want to use DMA with SPI to write in 10 registers, I've an array of 16-bit elements, where each element has (8bits for register address and 8 bits for data to write in this registers). the DMA will copy elements to SPI registers to be sent (without changing nCS), is this possible?

  • Hi Abdelrahman,

    Unfortunately this solution on its own would not work. The TCAN1145 requires that the nCS signal be pulled high in between SPI transactions to execute the previous write and reset the register pointer for the next transaction. This solution would need to implement some way to pulse the nCS signal between register writes in order for the transceiver to be able to properly receive the data. This may be able to be done with some external circuit that counts the SCK pulses but may become more complicated due to the hold time needed for nCS to remain high between frames. 

    Let me know if there is anything else I can help with regarding the expected behavior of the TCAN1145. 

    Regards, 
    Eric Schott