Difference between revisions of "DIY Ninjas Section"

From StereoPi Wiki
Jump to navigation Jump to search
m (CM1 support (how to change power mode))
m (Schematic of the StereoPi board)
(19 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
  
Compute Module 1 needs 5V VBAT power for kernel, and CM3/CM3+ needs 3.3V VBAT.
+
Compute Module 1 needs 3.3V power for VBAT, and CM3/CM3+ needs 5V VBAT.
  
By default StereoPi tuned to provide 5V voltage for CM3 series support.
+
By default StereoPi is tuned to provide 5V voltage for CM3 series support.
  
To change powering for CM1 you need:
+
To change powering mode for CM1 support you need:
* Unsolder R15 (0 Ohm) resistor here:
+
 
 +
1. Unsolder R15 (0 Ohm) resistor here:
  
 
[[File:R15-stereopi-bottom.jpg|none|300px|R15 resistor StereoPi]]
 
[[File:R15-stereopi-bottom.jpg|none|300px|R15 resistor StereoPi]]
  
* Solder R17 (0 Ohm) resistor or piece of wire here:
+
2. Solder R17 (0 Ohm) resistor or piece of wire here:
  
 
[[File:R17-stereopi-top.jpg|none|300px|R17 resistor StereoPi]]
 
[[File:R17-stereopi-top.jpg|none|300px|R17 resistor StereoPi]]
  
==[One secret undeclared feature]==
+
==Undeclared feature: usb client mode==
 +
[[File:Usb-switch.png|none|300px|StereoPi usb switch]]
 +
 
 +
You can easily access CM's USB on MicroUSB connector. You need to unplug the power cable, and connect StereoPi's MicroUSB cable to your computer without installing <code>USB SLAVE</code> jumper. In this case DD4 USB switch will connect CM's USB pins directly to MicroUSB connector. Onboard USB and LAN will be disabled, and you can use [http://www.linux-usb.org/gadget/ usb-gadget] API to turn on RNDIS LAN, usb camera or other modes on StereoPi according to your aim.
 +
 
 +
If you connect StereoPi by MicroUSB cable to your computer AND install <code>USB SLAVE</code> jumper, you will turn on firmware upload mode. Start [https://www.raspberrypi.org/documentation/hardware/computemodule/cm-emmc-flashing.md rpiboot.exe] to make eMMC visible as external drive.
  
 
==Device tree (DTS and dt-blob.bin)==
 
==Device tree (DTS and dt-blob.bin)==
 +
 +
===Ready to use dt-blob.bin file:===
 +
 +
[http://wiki.stereopi.com/files/dt-blob.bin.zip Download mirror 1] (Wiki hosting)
 +
 +
[http://stereopi.com/sites/default/files/dt-blob.bin.zip Download mirror 2] (website hosting)
 +
 +
===DTS source file===
 +
 +
[http://wiki.stereopi.com/files/dt-blob.dts.zip Download mirror 1] (Wiki hosting)
 +
 +
[http://stereopi.com/sites/default/files/dt-blob.dts.zip Download mirror 2] (website hosting)
  
 
==Schematic of the StereoPi board==
 
==Schematic of the StereoPi board==
Original StereoPi schematic was created in Altium, and now we're trying to choose appropriate open source tool. At this moment we like KiCad. If you have some ideas what tool should we use for schematic, please let us know in out twitter here:
+
 
 +
[https://wiki.stereopi.com/files/main_rpi_cm.pdf List 1 (main/CM)]
 +
 
 +
[https://wiki.stereopi.com/files/power_rpi_cm.pdf List 2 (power)]
 +
 
 +
[https://wiki.stereopi.com/files/usb_lan_rpi_cm.pdf List 3 (usb/lan)]
 +
 
 +
Original StereoPi schematic was created in Altium, and now we're trying to choose appropriate open source tool. At this moment we tend to choose  [http://kicad-pcb.org KiCad]. If you have some ideas which tool should we use for opening our schematic, please let us know in our twitter here:
  
 
https://twitter.com/StereoPi
 
https://twitter.com/StereoPi

Revision as of 15:09, 22 May 2019

CM1 support (how to change power mode)

CM1 and CM3 VBAT power


Compute Module 1 needs 3.3V power for VBAT, and CM3/CM3+ needs 5V VBAT.

By default StereoPi is tuned to provide 5V voltage for CM3 series support.

To change powering mode for CM1 support you need:

1. Unsolder R15 (0 Ohm) resistor here:

R15 resistor StereoPi

2. Solder R17 (0 Ohm) resistor or piece of wire here:

R17 resistor StereoPi

Undeclared feature: usb client mode

StereoPi usb switch

You can easily access CM's USB on MicroUSB connector. You need to unplug the power cable, and connect StereoPi's MicroUSB cable to your computer without installing USB SLAVE jumper. In this case DD4 USB switch will connect CM's USB pins directly to MicroUSB connector. Onboard USB and LAN will be disabled, and you can use usb-gadget API to turn on RNDIS LAN, usb camera or other modes on StereoPi according to your aim.

If you connect StereoPi by MicroUSB cable to your computer AND install USB SLAVE jumper, you will turn on firmware upload mode. Start rpiboot.exe to make eMMC visible as external drive.

Device tree (DTS and dt-blob.bin)

Ready to use dt-blob.bin file:

Download mirror 1 (Wiki hosting)

Download mirror 2 (website hosting)

DTS source file

Download mirror 1 (Wiki hosting)

Download mirror 2 (website hosting)

Schematic of the StereoPi board

List 1 (main/CM)

List 2 (power)

List 3 (usb/lan)

Original StereoPi schematic was created in Altium, and now we're trying to choose appropriate open source tool. At this moment we tend to choose KiCad. If you have some ideas which tool should we use for opening our schematic, please let us know in our twitter here:

https://twitter.com/StereoPi