Re: can: m_can: tcan4x5x m_can_isr do not handle tx if rx fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22.02.2022 15:54:32, Michael Anochin wrote:
> > 
> > This should not happen. Especially with the tcan driver. In a previous
> > mail you stated that you are using the following mram config:
> > 
> > | bosch,mram-cfg =  <0x0 0 0 16 0 0 1 1>;
> > 
> > is this still the case? This is inconsistent with the above error
> > message.

My question is, which mram-cfg were you using when the above error
message hit.

> I have tried many bosch,mram-cfg. This makes almost no difference
> 
> bosch,mram-cfg =  <0x0 0 0 16 0 0 1 1> is from Mainstream
> bosch,mram-cfg =  <0x0 0 0 10 0 0 16 16> is from Mainstream
> bosch,mram-cfg =  <0x0 0 0 16 0 0 8 8> is from Mainstream

What is Mainstream?

> I recognized, that no RXFIFO_1 is used, only RXFIFO_0.  On TXFIFO/TXEFIFO
> may be only one element is used by driver. I am not sure.

ACK, as documented in the DT bindings:

| bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>;

https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/net/can/tcan4x5x.txt#L34

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux