ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Compute Module

Fri Sep 25, 2015 2:31 pm

I am trying to get my compute module to work with the new official Raspberry Pi 7 inch touchscreen and can't seem to get it to work. However, I can get it to work via HDMI to a monitor.

Can someone please help me with getting the compute module to work with the rpi LCD?

Thanks :)

W. H. Heydt
Posts: 10905
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Compute Module

Fri Sep 25, 2015 3:29 pm

Is the OS & firmware on you CM up to date?

Does your CM carrier board have a DSI connector?

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Fri Sep 25, 2015 3:36 pm

It is completely up to date.

It has two display connectors and came with an adapter board, but when I connect the touchscreen to that it doesn't seem to do anything on the screen.

User avatar
RaTTuS
Posts: 10460
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Compute Module

Fri Sep 25, 2015 3:50 pm

are they RPi B type ones and not B2 type ones ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Fri Sep 25, 2015 3:55 pm

It's the compute module so its not related to either.


User avatar
RaTTuS
Posts: 10460
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Compute Module

Fri Sep 25, 2015 4:00 pm

yes but is the DSI wired up like B or B2 ports they are differnt
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
PeterO
Posts: 5028
Joined: Sun Jul 22, 2012 4:14 pm

Re: Compute Module

Fri Sep 25, 2015 4:04 pm

A little background info as to why Rattus is asking about B vs 2B
As and Bs didn't have the i2C port on the DSI connector , so if the CM's connector is wired like and A or B it won't work until the fix for the A and B is produced.
A+s B+s and 2B+s all have the needed I2C port wired up on the DSI connector.
HTH
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
RaTTuS
Posts: 10460
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Compute Module

Fri Sep 25, 2015 4:07 pm

Thank's PeterO ... v busy here today :)
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1440
Joined: Sat Sep 10, 2011 11:43 am

Re: Compute Module

Fri Sep 25, 2015 5:09 pm

It probably just needs the camera I2C set up in the dt-blob.bin (the display shares this) But I'm not absolutely sure and haven't had the time to check it out yet... Should be able to get around to that next week

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Wed Sep 30, 2015 8:23 am

How would the dt-blob.bin help me with connecting the display seen as all I have read about it is that it is to do with the camera, which I don't want.

Thanks :)

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1440
Joined: Sat Sep 10, 2011 11:43 am

Re: Compute Module

Wed Sep 30, 2015 10:16 am

Actually if you make sure the DSI I2C connections are connected from GPIO pins 28, 29 it may work...

Again it's something else I've got to look at but haven't yet had time

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Wed Oct 07, 2015 9:21 am

Had a go at the wiring but could not get the screen to appear. Could have possibly wired it up wrong but don't want to fiddle with it in case something breaks...

b1gtuna
Posts: 23
Joined: Wed Oct 21, 2015 12:17 am

Re: Compute Module

Mon Oct 26, 2015 8:38 pm

Any luck on this by any chance?

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Tue Oct 27, 2015 9:26 am

No, I didn't. Moved on to just playing with the Pi2 for now. Will most likely end up going back to the Compute module.

b1gtuna
Posts: 23
Joined: Wed Oct 21, 2015 12:17 am

Re: Compute Module

Tue Oct 27, 2015 3:17 pm

Thanks. I'm taking a stab at it. No success yet =(

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Tue Oct 27, 2015 3:20 pm

I had a good go at it myself, but due to the fact that I have a list of things I need to do with the compute module and the Pi 2, I thought it be best to see what I can do on the Pi 2 first seen as I have that working.

Good luck, let me know if you make any progress with it :D

b1gtuna
Posts: 23
Joined: Wed Oct 21, 2015 12:17 am

Re: Compute Module

Wed Oct 28, 2015 12:32 am

Just got it to work - read my thread - viewtopic.php?p=835160#p835160

tl;dr version is to include this snippet in the CM section of your dt-blob:

Code: Select all

pin_define@DISPLAY_I2C_PORT {
type = "internal";
number = <0>;
};
The number 0 indicates I2C-0. Apparently without this, it looks for the display at I2C-1.

ZoeReed
Posts: 28
Joined: Fri Sep 18, 2015 1:11 pm

Re: Compute Module

Wed Oct 28, 2015 9:17 am

Thanks, I will give it a go and see how I get on :D

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7317
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Compute Module

Wed Oct 28, 2015 10:40 am

b1gtuna wrote:Just got it to work - read my thread - viewtopic.php?p=835160#p835160

tl;dr version is to include this snippet in the CM section of your dt-blob:
I think you missed a bit. You need to add:

Code: Select all

pin_define@DISPLAY_SDA {
type = "internal";
number = <28>;
};
pin_define@DISPLAY_SCL {
type = "internal";
number = <29>;
};
pin_define@DISPLAY_I2C_PORT {
type = "internal";
number = <0>;
};
and link CD1_SDA and CD1_SCL on J6 (pins 37 & 39) to GPIOs 28&29 (J6 pins 1&3).
Display to be connected to the DISP1 connector.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Official Foundation Display”