Go to advanced search

by qkidamon
Mon Mar 25, 2019 7:39 am
Forum: Device Tree
Topic: How to use 2 SC16IS752,I USE I2C
Replies: 52
Views: 4474

Re: How to use 2 SC16IS752,I USE I2C

hnwangkg163 wrote:
Mon Mar 25, 2019 7:03 am

Code: Select all

sudo cp sc16is752-i2c.dtbo /lib/modules/4.14.50-v7+/kernel/drivers/tty/serial/

Hi.

I think you should copy sc16is752-i2c.dtbo to "/boot/overlays/" not to "/lib/modules/4.14.50-v7+/kernel/drivers/tty/serial/".

At least it works for me that way.

Thanks.
by qkidamon
Sun Mar 24, 2019 12:16 pm
Forum: Device Tree
Topic: How to use 2 SC16IS752,I USE I2C
Replies: 52
Views: 4474

Re: How to use 2 SC16IS752,I USE I2C

PhilE wrote:
Fri Mar 22, 2019 2:29 pm
Apologies, @qkidamon - I see you have a screen shot now. "devm_clk_get -> -517" - the second instance isn't getting a clock.
Thanks, but there is no need for apologies.

So many thanks for the super fast fix for current issue.

Miguel.
by qkidamon
Wed Mar 20, 2019 12:48 pm
Forum: Device Tree
Topic: How to use 2 SC16IS752,I USE I2C
Replies: 52
Views: 4474

Re: How to use 2 SC16IS752,I USE I2C

What's your wiring for pin A0 and pin A1 on each of your SC16IS752 chips. That's what defines the I2C address A0=Vdd A1=Vdd gives a write address of 0x90 and a read address of 0x48. A0=Vss A1=Vdd gives a write address of 0x98 and a read address of 0x4C. Datasheet is here: https://www.nxp.com/docs/e...
by qkidamon
Tue Mar 19, 2019 8:07 pm
Forum: Device Tree
Topic: How to use 2 SC16IS752,I USE I2C
Replies: 52
Views: 4474

Re: How to use 2 SC16IS752,I USE I2C

Ok. I own what i think is a genuine PI ZERO W. And my kernel versión is what "uname -r" command shows for my unit. Thanks for the rebuilt modules. As you said, SC16IS752 modified module throws debug messages to "dmesg" output (as you can see in the next image): https://drive.google.com/file/d/0B1h83...
by qkidamon
Mon Mar 18, 2019 1:14 pm
Forum: Device Tree
Topic: How to use 2 SC16IS752,I USE I2C
Replies: 52
Views: 4474

Re: How to use 2 SC16IS752,I USE I2C

Hi. all. I'm suffering from the same issue that hnwangkg163 explains from start. I'have followed the tests that was provided throught the present thread and i'm getting identical results in all steps. I think i understand from a previous reply that this issue may be a SC16IS752 driver problem. If, a...

Go to advanced search