Go to advanced search

by creeswarlowe
Mon Feb 27, 2017 1:29 am
Forum: Compute Module
Topic: I2C-0 and CM3
Replies: 14
Views: 7274

Re: I2C-0 and CM3

I just did an rpi-update (after putting the device tree back to default) - everything functions properly, both buses are alive now. Thanks for the update!
by creeswarlowe
Sun Feb 26, 2017 3:03 pm
Forum: Compute Module
Topic: I2C-0 and CM3
Replies: 14
Views: 7274

Re: I2C-0 and CM3

Do you think this would potentially introduce a problem?
I guess so! Thanks for the follow-up and answering so quickly. We'll wait for the update.
by creeswarlowe
Sun Feb 26, 2017 4:36 am
Forum: Compute Module
Topic: I2C-0 and CM3
Replies: 14
Views: 7274

Re: I2C-0 and CM3

I was experiencing the exact same problem - i2c0 on CM1 was working great...if a CM3 is inserted into the same carrier board, i2c0 is no longer accessible (with the same software/device tree/config.txt). In the device tree, attempts to set GPIO pins 0/1 to ALT0 (i2c0) functions did not work...'gpio ...
by creeswarlowe
Fri Feb 17, 2017 2:42 am
Forum: Compute Module
Topic: SD on CM3 module
Replies: 27
Views: 15220

Re: SD on CM3 module

I started over with the recent source at https://raw.githubusercontent.com/raspb%20...%20t-blob.dts , and built the changes on top of that (I was using the minimal compute module example before). I'm happy to report that it was successful, and that there are not any SD card problems now. Thanks for ...
by creeswarlowe
Sun Feb 12, 2017 3:45 am
Forum: Compute Module
Topic: SD on CM3 module
Replies: 27
Views: 15220

Re: SD on CM3 module

Can you attach a scope and probe the frequency of the SDCLK? Yes - see my post (above) about having a stock Jessie Lite Raspberry image without any device tree modification. Stock Jessie Lite: 41.67MHz, can mount/read/write mmcblk1p1 successfully tek00007.png Modified device tree: Switches between ...
by creeswarlowe
Sun Feb 12, 2017 3:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [Pi3] I2C SCL Frequency - off by about 1.6x
Replies: 4
Views: 3450

Re: [Pi3] I2C SCL Frequency - off by about 1.6x

What happens if you measure the frequency after increasing CPU load? Run cat /dev/urandom > /dev/null & to make some fake load. Interesting...I have my 'dtparam=i2c_baudrate=600000' set up in the /boot/config.txt , as previously posted. If I run the normal 'i2cdetect -y 1' (without your suggest...
by creeswarlowe
Sat Feb 11, 2017 4:48 pm
Forum: Compute Module
Topic: SD on CM3 module
Replies: 27
Views: 15220

Re: SD on CM3 module

Do you have external pull ups on the SD lines? Yes and no - I did originally (10k's as placeholders just in case) but I removed them as a test with the same result. Ditto with some ESD diodes - those two were actually the first thing I suspected. If signal integrity is suspected, it might be worth ...
by creeswarlowe
Sat Feb 11, 2017 5:07 am
Forum: Compute Module
Topic: SD on CM3 module
Replies: 27
Views: 15220

Re: SD on CM3 module

I am also doing exactly what this thread is discussing - I have a CM3 (not CM3L) with GPIO22-27 hooked up to a (second) SD card interface. I've verified with 'gpio readall' that GPIO 22-27 are in ALT3 mode after adding 'dtoverlay=sdio,poll_once=off' to /boot/config.txt. After a reboot, I see this re...
by creeswarlowe
Mon Feb 06, 2017 2:39 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [Pi3] I2C SCL Frequency - off by about 1.6x
Replies: 4
Views: 3450

Re: [Pi3] I2C SCL Frequency - off by about 1.6x

I agree! I am running on the Raspberry Pi Compute Module 3, and I see the same thing (verified with a scope). I'm using I2C-bus 1: 100kHz - Actual = 62.5kHz 600kHz - Actual = 375kHz The '100' and '600' are changed values in /boot/config.txt, for example: dtparam=i2c_baudrate=100000 dtparam=i2c_baudr...

Go to advanced search