Re: tcan4x5x

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

 



Sean

On 12/6/19 6:52 AM, Marc Kleine-Budde wrote:
On 12/6/19 1:50 PM, Sean Nyekjaer wrote:
A usleep_range(700, 1000); right after the reset pin is put low will fix
the non talking device "Unsupported version number:  0".

But i still have this on first probe, gone on second:
tcan4x5x spi2.0 (unnamed net_device) (uninitialized):
Failed to init  module
Please send a patch.

Marc

I am wondering if you need to increase the timeout in the m_can.c when reading the CCCR register.

Right now it is at 10us.  That was working for me on my setup and for MMIO devices but may be needed to be longer for faster processors.

Dan




[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