Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
stm32duino:32stm32_main [2020/10/26 16:31] admin [Links] |
stm32duino:32stm32_main [2020/10/26 17:04] (current) admin [Schematic] |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ---- | ---- | ||
| ==== USB Fix ==== | ==== USB Fix ==== | ||
| - | Unfortunately the board comes with a 10k pullup resistor from D+ to 3.3V (in the schematic it's a 4.7k). That can cause problems on some PCs. Just take the R10 out and replace it with an 1.5k resistor | + | Unfortunately the board comes with a 10k pullup resistor from D+ to 3.3V (in the schematic it's a 4.7k). That can cause problems on some PCs. Just take the R10 out and replace it with an 1.5k resistor.\\ |
| - | [[http:// | + | |
| One might let the 10k resister untouched and just put a 1.8k in parallel. Between 3.3V and pin A1 (PA12).\\ | One might let the 10k resister untouched and just put a 1.8k in parallel. Between 3.3V and pin A1 (PA12).\\ | ||
| - | < | + | |
| - | <a href=" | + | |
| - | <img src=" | + | |
| - | </ | + | |
| - | </ | + | |
| And here are some useful infos about the pullup resistors on USB:\\ | And here are some useful infos about the pullup resistors on USB:\\ | ||
| [[https:// | [[https:// | ||
| + | [[https:// | ||
| ---- | ---- | ||
| ==== Schematic ==== | ==== Schematic ==== | ||
| - | Here one find the [[http://wiki.stm32duino.com/ | + | Here is the {{ :stm32duino:vcc-gnd.com-stm32f103c8-schematic.pdf |schematic}} (Attribution: |
| + | \\ | ||
| Pinout:\\ | Pinout:\\ | ||
| < | < | ||
| - | <a href="http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif"> | + | <a title="Rasmus Friis Kjeldsen, CC BY-SA 4.0 & |
| - | <img src="http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif" | + | </ |
| - | </ | + | // |
| - | </ | + | |
| ---- | ---- | ||
| Line 55: | Line 51: | ||
| ---- | ---- | ||
| ==== Links ==== | ==== Links ==== | ||
| + | [[https:// | ||
| [[https:// | [[https:// | ||
| - | |||
| - | ---- | ||
| - | ===== I2C over VGA ===== | ||
| - | One can use the I2C bus from the VGA connector.\\ | ||
| - | |||
| - | ---- | ||
| - | ==== I2C on the VGA Connector ==== | ||
| - | How to acces the I2C Bus:\\ | ||
| - | {{: | ||
| - | or use the | ||
| - | [[http:// | ||
| - | |||
| - | ---- | ||
| - | ==== Workaround ==== | ||
| - | A workaround for Arch Linux:\\ | ||
| - | |||
| - | |||
| - | Add the I2C kernel module:\\ | ||
| - | $ sudo modprobe i2c-dev | ||
| - | Check your I2C devices:\\ | ||
| - | $ ls /dev/ | ||
| - | You should find somthing like: **i2c-0 | ||
| - | Install the I2C tools:\\ | ||
| - | $ sudo pacman -S i2c-tools | ||
| - | or on Debian:\\ | ||
| - | $ sudo apt-get install -y i2c-tools | ||
| - | Find your device:\\ | ||
| - | $ i2cdetect -l | ||
| - | The result could look like:\\ | ||
| - | i2c-1 unknown | ||
| - | Looking for an I2C device | ||
| - | $ sudo i2cdetect -y 1 | ||
| - | It should tell you the address of your I2C device.\\ | ||
| - | Now you can comunicate to your devices with these commands:\\ | ||
| - | $ i2cget | ||
| - | $ i2cset | ||
| - | $ i2cdump | ||
| - | |||
| - | |||
| - | |||
| - | ==== Links ==== | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[https:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| ---- | ---- | ||
| ==== License ==== | ==== License ==== | ||
| - | This manuals | + | Except where otherwise noted, content on this wiki is made by **Wolfgang Spahn** 2018-20.\\ |
| It is licensed under a [[http:// | It is licensed under a [[http:// | ||