STM32G474 FDCAN tx buffers
Since the description of the FDCAN controller in the reference manual of
the STM32G474 was not detailed enough, I looked around for more Information
and found the Application Note AN5348 ("FDCAN peripheral on STM32 devices ").
But that didn't make me feel more confused.- but that didn't answer my
questions, I'm even more confused now
At the moment I am busy sending CAN messages.
According to AN5348, the FDCAN has dedicated Tx buffers and optionally
a Tx FIFO or a Tx queue (Figure 4. CAN message RAM mapping.)
The FDCAN controller on the STM32G474 seems to be like a
minimal implementation of the controller described in the AN5348 -
obviously 32 Tx buffers are possible, but the STM32G474 has according to.
Reference Manuel only 3 of them. And as I understand I understand, they are
used as a TxFIFO or a TX queue - therefore there are no "dedicated" Tx buffer !?
Or can I simply use the 3 buffers in a detected manner by ignoring
the TXFQS registers and working only with registers TXBRP, TXBAR and TXBTO?
I am also not quite clear what the distinction Tx buffer
and Tx queue is all about (AN5348 / p.23): Figure 19. Mixed
configuration with dedicated Tx buffers and Tx queue)?
Actually I would like to use a buffer for cyclic
sending messages with high priority, a second buffer
should be feeded permanently from a software FIFO by means of an
interrupt, while the third shuold be keept free for later expansions -
I am not sure now, whether that can be implemented with the
FDCAN controller of the STM32G474?
