Commit graph

121 commits

Author SHA1 Message Date
Karl Palsson
bed7ca19b2 adc-power: stm32l1: make "generic" == hw1 test board.
* use the trigger pin instead of the led.
* use the smaller flash of the part mounted.
2018-02-21 22:56:01 +00:00
Karl Palsson
427cdf423b hw1: notes from assembling first board. 2018-02-20 22:01:22 +00:00
Karl Palsson
d5fd0d1012 spi-master: update to run on the hw1 host board
"TRIGGER" is now D0 on the fx2 port
"LED" is now D1 on the fx2 port,
"SPI MOSI" is now D4 on the fx2
"SPI MISO" is now D5
"SPI CLOCK" is now D6
2018-02-19 22:04:59 +00:00
Karl Palsson
02d5cff752 hw1: gitignore gerbers 2018-02-19 21:08:44 +00:00
Karl Palsson
0bf54d8fb8 hw1: notes on signal integrity 2018-02-19 21:07:22 +00:00
Karl Palsson
3b237a5288 hw1: update to current
Not really sure, did I forget to checkin after shipping out? Something
got updated after a dot update of kicad?  revision control of pcbs and
schematics still sucks hard.
2018-02-19 21:06:16 +00:00
Karl Palsson
eb6139b4fa hw1: add exampe part number for fx2la part number 2018-02-02 21:03:05 +00:00
Karl Palsson
3ebd1a0619 hw1: use explicit 10103594-0001LF part
better fit
2017-12-31 00:02:11 +00:00
Karl Palsson
e5faade848 hw1: commit with filled pours 2017-12-29 02:00:54 +00:00
Karl Palsson
558ad49923 hw1: termination wat 2017-12-29 01:39:58 +00:00
Karl Palsson
6e634937f8 hw1: discover reversed numbering on arduino connectors
joy.  Fixed now against nucleo64 manuals.
2017-12-29 01:31:12 +00:00
Karl Palsson
edcea804b1 hw1: more silk cleanup 2017-12-29 00:59:05 +00:00
Karl Palsson
f4c629f376 hw1: cleanup silk and start adding labels 2017-12-28 23:31:32 +00:00
Karl Palsson
411cc20856 hw1: shrinking after dropping arduino stuff 2017-12-27 22:31:49 +00:00
Karl Palsson
77ad686a08 hw1: drop arduinno style holes and board shape
More to go, nno need for the silk and dead shapes, we just needed the
pin spacings
2017-12-27 17:12:37 +00:00
Karl Palsson
3a90a6e343 hw1: test points, cleanup 3d view
Fixed boot0 to be tied down, will be programmed via swd.
Added test points for spare pins where easy
Fixed some footprints to make the 3d view pretty.
2017-12-27 16:20:07 +00:00
Karl Palsson
3137bf4378 new pdf for current schematic 2017-12-17 22:36:34 +00:00
Karl Palsson
b33de16ac9 "fix" grounds by tracks into pour
"finish" routing, ignore DRC violations from disconnected usb shield on
pin 6.

Add boot0 jumper pad "just in case" but really kinda dumb, we've got a
debug header on it. Why bother with this?

Change paper size in schema to get more space.

TODO: add silk?
TODO: replace "arduino" shape with just the pinpoints.
2017-12-17 22:28:07 +00:00
Karl Palsson
74b958c599 hw1: continued, just intermediate progress save
wtf kicad, why aren't my grounds connected?!
2017-12-11 22:02:56 +00:00
Karl Palsson
afb3081feb hw1: add crystal, more commentary
probably need a crystal for usb :)

still needs footrints, will probably be any old 3225 part.
2017-11-20 23:46:57 +00:00
Karl Palsson
9c78e2ae40 hw1: begin routing.
Spun the host, laid most signal tracks.
todo: vcc, ground pour, then shuffle all LA connectors for ease of
routing.
2017-11-19 23:33:38 +00:00
Karl Palsson
c267237013 hw1: apparently _actually_ save the file 2017-11-17 23:21:16 +00:00
Karl Palsson
52238907c3 hw1: add in/out caps to 3v3 2017-11-17 23:14:23 +00:00
Karl Palsson
1dc853bd8b git ignore more backups 2017-11-17 23:09:34 +00:00
Karl Palsson
3aa65ec998 add "klibs" with new regulator 2017-11-17 23:09:07 +00:00
Karl Palsson
028ebeacbc gitignore kicad .bak files 2017-11-17 23:01:32 +00:00
Karl Palsson
9994a66a3e hw1: schematic "finished" ?
have I committed enough files for others to even open this?
2017-11-17 23:00:50 +00:00
Karl Palsson
8366c94592 common openocd: use -s to find files from test dirs.
The sourcing of the common.cfg and the optional local files was failing
when invoked from a test directory.  Use -s and properly use [find ...]
to search paths nicely.
2017-10-26 22:10:03 +00:00
Karl Palsson
0d9dca3ac9 uart-basic: l0: speedup and drop dead code
Don't need the HSI48 clocks, that was from a usb demo
2017-10-26 21:42:33 +00:00
Karl Palsson
3c53aa4ec3 uart-basic: add l4 2017-10-25 23:54:17 +00:00
Karl Palsson
0cf7359b78 uart-basic: add functional l0 test code too.
Really need to get the rcc helpers built up and upstream!
2017-10-25 23:25:26 +00:00
Karl Palsson
d35d362699 uart-basic: add f0, requires newest code too
stupid f072 disco doesn't have usart2 available
2017-10-24 23:48:55 +00:00
Karl Palsson
a549503ade basic uart: f4 and f3, prepping tests for usart-v2
use parity to at least test a little more of the common code
2017-10-24 23:48:28 +00:00
Karl Palsson
cb376f3959 WIP: hardware test partner round 1
Not sure which kicad files are necessary and which are local yet!

Goal: fixed "host" board (this board) with socket for _any_ Nucleo64 st
board, giving access to test:
* DAC->ADC (both directions)
* I2C (both directions)
* SPI (both directions)
* Uart (both directions)

a socket for a cheap fx2 based logic analyser will be included, so that
sigrok can be used to capture tests of the actual line states.
2017-10-07 15:20:00 +00:00
Karl Palsson
b375054177 awd-timer-dma: initial commit.
Had to figure out a few screwups before I got the AWD working properly.
2017-09-01 21:20:39 +00:00
Karl Palsson
76f86f8b2c spi-master: trivial: names to match sigrok default 2017-09-01 21:20:39 +00:00
Karl Palsson
cf7933539c lib: update to my staging 2017.4 2017-09-01 21:20:39 +00:00
Karl Palsson
4bfe525273 lib: update to my staging 2017.4 2017-04-24 21:27:09 +00:00
Karl Palsson
cfe847f7f3 i2c: fix uart notes for f0 2017-04-05 21:30:42 +00:00
Karl Palsson
a8971df174 openocd: fix gross tcl syntax
if you need the ; why do you need the #
2017-04-05 20:46:31 +00:00
Karl Palsson
1722cab8b5 move forward to new libopencm3 2017-04-04 22:12:46 +00:00
Karl Palsson
43a891d5cd i2c-master: f0: fix leds 2017-04-04 21:17:10 +00:00
Karl Palsson
c802ef055c rules.mk: make sure flashing works from other directories
Provide full path when communicating with openocd.
This means you can run a permanent openocd session from the ./openocd
directory, and still have things working with just "make flash" from
whatever test directory you are in.
2017-04-04 21:03:19 +00:00
Karl Palsson
667ce879ef fix sigrok 2017-03-27 23:23:52 +00:00
Karl Palsson
7cb1e1b140 update to latest staging 2017-03-27 23:21:08 +00:00
Karl Palsson
f8d621ec5b spi-master: initial busy sending test stub.
Basic framework.  now we can build on it.
2017-03-27 23:20:07 +00:00
Karl Palsson
cb66272d4e i2c-master: add pins for f0 disco 2017-03-27 21:44:53 +00:00
Karl Palsson
6dfe47b399 i2c-master: use library form of transfer functions 2017-03-24 00:13:23 +00:00
Karl Palsson
f34641e25b i2c: use speed setting from newer library version 2017-03-23 23:58:20 +00:00
Karl Palsson
5e1ba40641 i2c-master: add 400k speed support on v1/v2 2017-03-23 23:37:25 +00:00