Go to advanced search

by James Adams
Mon Aug 05, 2019 7:46 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 - Dead USB, no VBUS
Replies: 12
Views: 514

Re: Raspberry Pi 4 - Dead USB, no VBUS

The FET holds off the switch enable until the system reset is released (as the VLI USBHPE output is somewhat badly behaved at power up) - see attached schematic fragment.
VLI_VBUS_EN.png
VLI_VBUS_EN.png (93.47 KiB) Viewed 208 times
by James Adams
Wed Jul 10, 2019 9:59 am
Forum: Troubleshooting
Topic: Pi 4 fails to boot when active USB switch attached
Replies: 16
Views: 986

Re: Pi 4 fails to boot when active USB switch attached

USB peripherals should never back-power VBUS like this - so this is bad peripheral behaviour. VBUS applied to an unpowered Pi will cause the rails to charge up and the PMIC will then not start (as it is designed to only start from a known state - all rails less than ~200mV - so it makes sure the pow...
by James Adams
Wed Jul 10, 2019 9:21 am
Forum: General discussion
Topic: Micro/type-c USB power supplies immunity to backpowering validity/proof
Replies: 13
Views: 786

Re: Micro/type-c USB power supplies immunity to backpowering validity/proof

The structure of flyback AC-DC PSUs (wall-wart type) means they generally don't (can't) sink current. As long as your HAT does not sink current and will stop sourcing current when its output voltage is at the regulated set point (5V) or higher it should not 'fight' with any accidentally plugged in U...
by James Adams
Tue Jun 25, 2019 10:24 am
Forum: Advanced users
Topic: Missing labels on the schematics 4b
Replies: 6
Views: 545

Re: Missing labels on the schematics 4b

These have been removed as they aren't generally useful - they aren't standard parts that are available in the channel and so you can't get hold of the parts or datasheets.

Also, we often change manufacturers (of connectors, say) so they can change over time.

Is there some specific info you need?
by James Adams
Tue Apr 30, 2019 8:01 am
Forum: Compute Module
Topic: Schematics for the CM3+
Replies: 2
Views: 379

Re: Schematics for the CM3+

Yes the CM3+ is the same as CM3 except using BCM2837B (package with the can) instead of BCM2837A.
by James Adams
Thu Sep 21, 2017 11:39 am
Forum: Compute Module
Topic: CMIO v3 design files
Replies: 6
Views: 2429

Re: CMIO v3 design files

by James Adams
Thu Sep 21, 2017 9:53 am
Forum: Compute Module
Topic: Flickering HDMI on custom CM3 board
Replies: 22
Views: 4745

Re: Flickering HDMI on custom CM3 board

This could also be a power supply noise issue - the HDMI PHY uses both 3V3 and 1V8, so one thing to check is your supplies are clean and sequenced properly (compare them with CMIO3 board).
by James Adams
Wed Sep 13, 2017 8:27 am
Forum: Compute Module
Topic: Boot problem with V3 on card designed past year
Replies: 22
Views: 4528

Re: Boot problem with V3 on card designed past year

When the CM3 does not start can you measure the voltage across C42 on the CM3 (bottom right corner of the module next to L1). I'm finding it hard to explain why it works on a CMIO3 but on a CMIO1 (with VBAT at 5V) it does not - as these boards really are identical except the VBAT power and the CMIO3...
by James Adams
Tue Sep 12, 2017 10:30 am
Forum: Compute Module
Topic: Boot problem with V3 on card designed past year
Replies: 22
Views: 4528

Re: Boot problem with V3 on card designed past year

2 things:

Can you try delaying RUN a bit more before bringing it high?

I'm still concerned about the residual voltage on the supplies - why are they starting at ~500mV?

James
by James Adams
Mon Sep 11, 2017 11:42 am
Forum: Compute Module
Topic: Boot problem with V3 on card designed past year
Replies: 22
Views: 4528

Re: Boot problem with V3 on card designed past year

Can you explain why there are 2 3V3 traces (blue and yellow)? Also can you explain why the traces start at ~500mV (the yellow one then drops down before rising again)? Residual voltages on power rails is a not-uncommon cause of these kind of power-up issues. Some idea of your powerchain architecture...
by James Adams
Mon Sep 11, 2017 8:23 am
Forum: Compute Module
Topic: Boot problem with V3 on card designed past year
Replies: 22
Views: 4528

Re: Boot problem with V3 on card designed past year

With your LED on EMMC_EN_N you are just measuring the forward LED voltage drop (through 10K to 3V3). Seems to be working to me. This feels like a power supply issue, the CM3 takes a lot more current from VBAT. What is the capability of your upstream power supply? (I.e. the 5V input) You need to look...
by James Adams
Mon Sep 04, 2017 2:43 pm
Forum: Compute Module
Topic: 3V3 voltage range
Replies: 1
Views: 859

Re: 3V3 voltage range

Hi Milek7 while we don't guarantee anything outside of 3V3+/- 5% (mostly due to HDMI voltage requirements to meet HDMI certification) I would be surprised if you had any issues running down at 3.0V
by James Adams
Wed Aug 02, 2017 1:24 pm
Forum: Compute Module
Topic: Broken Compute Module
Replies: 5
Views: 1515

Re: Broken Compute Module

Hi themeerd. Are you using the very latest rpiboot software, and what platform are you using to flash with? (PC, Mac, Pi?, which OS?) - are you using a Compute Module IO board and if so which version? What you describe shouldn't be happening, though gsh has fixed a couple of bugs in rpiboot fairly r...
by James Adams
Wed Aug 02, 2017 10:32 am
Forum: Compute Module
Topic: Voltages needed for fast shutdown
Replies: 1
Views: 826

Re: Voltages needed for fast shutdown

Hi JohW. The supply rails need to be up at all times unless you are powering the entire system down - the reason is there are parasitic diodes in the silicon device(s), as is common to most devices with multiple power domains, that can turn on if say the 3V3 domain goes away but the 1V8 stays up (1V...
by James Adams
Thu Jan 26, 2017 9:30 am
Forum: Compute Module
Topic: STICKY: Is CM3 compatbile with the CM1 development board?
Replies: 21
Views: 18992

Re: Is CM3 compatbile with the CM1 development board?

Note that the CMIO-V1 supplies the Compute Module's VBAT from the 3V3, whereas on CMIO-V3 it is supplied from 5V. CM3 can pull significantly more current from VBAT, so if you run heavy CPU loads and/or have anything else using 3V3 it could be marginal. We recommend removing R1 and using a wire to co...
by James Adams
Fri Jan 20, 2017 8:57 am
Forum: Compute Module
Topic: CM3 Board Adapters?
Replies: 12
Views: 2680

Re: CM3 Board Adapters?

Hi Bruce where did you order the kit from, Farnell or RS?
by James Adams
Wed Oct 26, 2016 7:48 am
Forum: Compute Module
Topic: Compute Module Projects
Replies: 3
Views: 4411

Re: Compute Module Projects

Nice job!
by James Adams
Fri Aug 14, 2015 9:24 pm
Forum: Compute Module
Topic: No HDMI on custom board, but fine on OEM dev board.
Replies: 14
Views: 2759

Re: No HDMI on custom board, but fine on OEM dev board.

GPIO46 should be LOW (indicating HDMI hot plug) so that is likely your problem.

James
by James Adams
Thu Jun 04, 2015 7:40 am
Forum: Compute Module
Topic: unique number
Replies: 25
Views: 4273

Re: unique number

No, the serial number is burned into the OTP during manufacture.
by James Adams
Thu Jun 04, 2015 7:32 am
Forum: Compute Module
Topic: Raspberry Pi Compute Module PCM Audio Output MAX98357
Replies: 10
Views: 7314

Re: Raspberry Pi Compute Module PCM Audio Output MAX98357

The BCM283x I2S driver doesn't natively support mmap which is required for ALSA to do automatic rate/sample conversion. That setup uses the 'mmap_emul' plugin which emulates it (note the emulator is less optimal in terms of performance but mostly fine).
by James Adams
Wed Jun 03, 2015 7:43 am
Forum: Compute Module
Topic: Raspberry Pi Compute Module PCM Audio Output MAX98357
Replies: 10
Views: 7314

Re: Raspberry Pi Compute Module PCM Audio Output MAX98357

Try creating/editing /etc/asound.conf to be:

Code: Select all

pcm.mmap0 {
  type mmap_emul
  slave {
    pcm "hw:0,0"
  }
}

pcm.!default {
  type plug
  slave {
    pcm mmap0
  }
}
then reboot and see if that fixes it?
by James Adams
Tue Jun 02, 2015 2:20 pm
Forum: Compute Module
Topic: Raspberry Pi Compute Module PCM Audio Output MAX98357
Replies: 10
Views: 7314

Re: Raspberry Pi Compute Module PCM Audio Output MAX98357

So I assume you are using GPIO18-21 for the PCM interface which looks OK from the GPIO settings. Your circuit diagram looks OK to me. Looks like the driver loaded OK and so the CM should be sending PCM data. Doesn't look like you used aplay to correctly play a wav file - there is an error you need a...
by James Adams
Tue Jun 02, 2015 7:42 am
Forum: Compute Module
Topic: Raspberry Pi Compute Module PCM Audio Output MAX98357
Replies: 10
Views: 7314

Re: Raspberry Pi Compute Module PCM Audio Output MAX98357

Hi can you try installing raspi-gpio as previously mentioned (NB name of tool and apt package now both raspi-gpio):

sudo apt-get update
sudo apt-get install raspi-gpio
sudo raspi-gpio get

And post the results?
by James Adams
Thu May 28, 2015 3:40 pm
Forum: Device Tree
Topic: STICKY: Device Tree Forum Area README
Replies: 9
Views: 16176

STICKY: Device Tree Forum Area README

From http://www.devicetree.org: "The Device Tree is a data structure for describing hardware. Rather than hard coding every detail of a device into an operating system, many aspects of the hardware can be described in a data structure that is passed to the operating system at boot time" Raspberry Pi...
by James Adams
Tue May 19, 2015 12:30 pm
Forum: Compute Module
Topic: dt-blob gpio28 and gpio29
Replies: 11
Views: 1481

Re: dt-blob gpio28 and gpio29

We really need to see your:
config.txt
dt-blob.dts
bcm2708-rpi-cm.dts
and also the output of the gpiostate tool once you've booted.

Can you put them on pastebin and provide a link?

James

Go to advanced search