Go to advanced search

by TimWJ
Wed Feb 13, 2019 6:33 pm
Forum: Compute Module
Topic: wiringPi problems with CM3+
Replies: 14
Views: 1477

Re: wiringPi problems with CM3+

This is Odd. I have been using WiringPi 2.46 on CM3 and CM3 Lite for about 6 months. I am using an old kernel, I think that it is 4.9.22. Out of the box it works fine, but only supports one SPI bus and there is a bug in the MCP3002 ADC code. I added support for the other 2 SPI buses and fixed the MC...
by TimWJ
Fri Aug 24, 2018 8:00 am
Forum: Compute Module
Topic: CM3 bank 1 pins using C# and SPI1 modes
Replies: 2
Views: 890

Re: CM3 bank 1 pins using C# and SPI1 modes

I can't comment on C#, but WiringPi from C does support all pins on the CM3. It detects that it running on the CM3 and uses the GPIO number rather than the physical number as on other Pi. The following C code does indeed flash a LED connected to GPIO41 #include <wiringPi.h> int main (void) { wiringP...
by TimWJ
Fri Aug 03, 2018 5:09 pm
Forum: Advanced users
Topic: Need reliable headlessness. Current Raspbian a headache. Suggestions?
Replies: 5
Views: 581

Re: Need reliable headlessness. Current Raspbian a headache. Suggestions?

Another vote for piCore. i am nearing the completion of my 2nd major project using it. It can be setup to run entirely from an in memory file-system and the SD card or eMMC can be completely unmounted once the boot is complete. This latest project includes, amongst other things, taking short video c...
by TimWJ
Sat Jul 28, 2018 10:12 pm
Forum: Advanced users
Topic: Configuration of a RTC-MCP79410 with Raspberry PI 3
Replies: 8
Views: 683

Re: Configuration of a RTC-MCP79410 with Raspberry PI 3

I agree as I said it is better to use device tree via config.txt. I still cannot see the OP's configuration. I did post a configuration that has been running for a couple of years on around 30 systems with the exact chip the OP is using. Using "if it is not broken don't fix it", I have left them usi...
by TimWJ
Sat Jul 28, 2018 6:03 pm
Forum: Advanced users
Topic: Configuration of a RTC-MCP79410 with Raspberry PI 3
Replies: 8
Views: 683

Re: Configuration of a RTC-MCP79410 with Raspberry PI 3

I don't know if this will help. I have been using the MCP79410 for several years on various Pi. I am running piCore as an Operating system not Raspbian but the kernel and modules are the same. Here is by boot code /sbin/modprobe i2c-dev /sbin/modprobe rtc-ds1307 echo "mcp7941x 0x6f" > /sys/bus/i2c/d...
by TimWJ
Thu Jun 21, 2018 12:08 pm
Forum: Compute Module
Topic: can a camera share an i2c bus with other devices?
Replies: 6
Views: 1154

Re: can a camera share an i2c bus with other devices?

Very many thanks for such a rapid and full explanation, I think I now understand the situation.

Tim.
by TimWJ
Thu Jun 21, 2018 11:32 am
Forum: Compute Module
Topic: can a camera share an i2c bus with other devices?
Replies: 6
Views: 1154

can a camera share an i2c bus with other devices?

I am just starting with the Compute module.

We would like to connect 2 cameras, a RTC and possibly other i2c devices to the CM3.

In general multiple i2c devices can share the bus, but I have it in my mind that the camera needs exclusive access.

Is this correct?

Many thanks

Tim

Go to advanced search