whitequark changed the topic of #glasgow to: glasgow debug tool · code https://github.com/GlasgowEmbedded/Glasgow · logs https://freenode.irclog.whitequark.org/glasgow
<TD-Linux> esden, unstable ldos with ceramic are definitely still a thing, TI still charges more for their ceramic stable ones
<TD-Linux> e.g. tps76933 is unstable
_whitelogger has joined #glasgow
futarisIRCcloud has joined #glasgow
sb0 has quit [Quit: Leaving]
mehar_ has joined #glasgow
mehar has quit [Ping timeout: 250 seconds]
<tnt> whitequark: I don't think it's a bug.
<whitequark> shouldn't it pick the other PLL?
<tnt> whitequark: Info: constrained 'port_a_io_6' to bel 'X17/Y33/io0'
<tnt> I think the opther PLL conflicts with that
<tnt> The input path of that IO site is condemned by the PLL at 16/33.
<whitequark> mm I think I disabled that and it still didn't work, let me check again
<tnt> yeah, tbh, that's possible there is _also_ a bug because I'm not sure it takes already constrained SB_GB into account when placing PLLs.
<whitequark> tnt: yes, if I remove port_a_io_{4,6} it still fails.
<whitequark> I think I archived the wrong repro.
<whitequark> daveshah: ^
<tnt> but at least that design with the port in it will never work.
<tnt> just updated https://gist.github.com/smunaut/1eae3cdb25207d44ccaace301bee9c21 with the Hx8k in bg121 fwiw
<whitequark> ohhh that's super useful, thank you
<whitequark> how on earth does one PLL have an output at 16/0 and 16/33?
<whitequark> isn't that spanning the entire chip?
<tnt> oh no 16/0 PLL_A meant PLL at 16/0, output A
<whitequark> ohhh
<whitequark> that's confusing
<whitequark> or maybe i'm just tired
<tnt> yeah for the up5k there wasn't much confusion since thereis only 1 PLL ...
<marcan> tnt: is the SB_GB and SB_IO_GB x/y numbering supposed to be flipped?
<marcan> looks weird
<tnt> what do you mean ?
<marcan> like 16/33/1 (B6) | 33/16 | 16/33 PLL_A
<marcan> why is the SB_GB 33/16? isn't that like diagonally opposed?
<marcan> or mirrored around the diagonal rather
<tnt> yeah it is. But that's definitely what's in the chipdb unless I'm grossly misreading it ...
m4ssi has joined #glasgow
<tnt> daveshah: btw, just so we don't duplicate efforts, I'm already writing a fix for the pll placement thing.
<daveshah> Thanks
* daveshah hasn't even caught up with backlog yet
<marcan> whitequark: have any leanings toward a particular regulator series?
<tnt> whitequark: you can give this a shot https://github.com/smunaut/nextpnr/tree/pll_gb_place
<tnt> mm, that patch might be a bit too restrictive actually. If the global output of the PLL has no connection (and only the CORE output is used), then I think the global network remains free to use for any other purpose.
<marcan> hm, so. OnSemi NCP718/NCP705 and TI TLV733/755 have compatible packages and pinouts
<marcan> whitequark: ^^
<marcan> same as the the TLV757P that daveshah mentioned
<marcan> (but we don't need 1A)
<marcan> they're reasonably cheap (<$1 in singles) and seem to have decent availability
<marcan> 2x2mm package, so pretty tiny
<marcan> and since they offer several currents in the same package, that gives some flexibility if we wind up with availability issues (though they all have 4-digit stock at digikey, so it looks good)
<marcan> 5-digit factory stock for some of them
<tnt> TLV733 i don't see it in qfn6 ?
<marcan> DFN6
<tnt> yeah, same, I only see it in sot23 and xson4
<tnt> I guess the Q1 matters :p http://www.ti.com/product/TLV733P
<marcan> heh, automotive only?
<marcan> 'Automotive capacitor-free 300-mA LDO regulator with foldback current limit for portable devices'
<tnt> yup at least in that package.
<marcan> 'Automotive' 'For portable devices'
<marcan> those X2SON packages are funky
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
futarisIRCcloud has joined #glasgow
_whitelogger has joined #glasgow
modrobert has quit [Remote host closed the connection]
modrobert has joined #glasgow
nrossi has joined #glasgow
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Guest71889 has joined #glasgow
<whitequark> automotove is expensive, no?
<marcan> whitequark: not really, $0.68
<marcan> I have no idea why that package is only available in the automotive variant, but it doesn't seem to make a difference?
<whitequark> mm, sure then
cyrillu[m] has joined #glasgow
fridtjof[m] has joined #glasgow
carl0s has joined #glasgow
fridtjof[m] has quit [Write error: Connection reset by peer]
nrossi has quit [Remote host closed the connection]
Guest71889 has quit [Remote host closed the connection]
cyrillu[m] has quit [Read error: Connection reset by peer]
nrossi has joined #glasgow
Guest65656 has joined #glasgow
cyrillu[m] has joined #glasgow
fridtjof[m] has joined #glasgow
carl0s has quit [Ping timeout: 256 seconds]
m4ssi has quit [Remote host closed the connection]
<marcan> whitequark: oh, the 500mA version is not automotive in that package
<marcan> I get the feeling that package was just added later
<marcan> 733 non-automotive is the oldest of the bunch
<whitequark> ack
<marcan> heck the 755P is barely a year old
electronic_eel has joined #glasgow
<electronic_eel> whitequark: you posted about crimp tools from Engineer on twitter
<electronic_eel> I have the PAD-11 too and think it is a good recommendation
<whitequark> yeah
<whitequark> the previous tool i had, the contacts would get stuck in the die
<whitequark> so hard you'd have to put a screwdriver there and hammer them out
<whitequark> that was over $100...
<electronic_eel> But there is one part that it is not good at: the round crimps on the isolation of "regular" pin headers
<whitequark> yes
<electronic_eel> I found a good solution for this problem here: http://tech.mattmillman.com/info/crimpconnectors/
<electronic_eel> It is a cheap chinese companion crimp tool
<electronic_eel> YTH-202B, like 8 dollars on Aliexpress
<whitequark> ooh, nice
* whitequark opens aliexpress
* whitequark stares at the placeholder text
<whitequark> it autodetected my language as russian using geoip and translated all the UI
<electronic_eel> yeah, they "improve" their ui all the time
<electronic_eel> like when they removed the "price per piece" option from the search window
<whitequark> now that would be reasonably bad but the search placeholder text says, and i had to do a double take, "for your twat"
<whitequark> oh wait, that's not their ui text
<whitequark> that's search queries
<whitequark> from random other people
<electronic_eel> and you can't use quotes, AND OR keywords and so on
Jasjar has quit [Ping timeout: 250 seconds]
<tnt> whitequark: did you get a chance to test the fix ?
<whitequark> not yet, let me try
<whitequark> tnt: yes, works
<whitequark> and without even removing the SB_IO with the same GBs
<tnt> whitequark: yeah, the input path isn't used turns out, so it can detect that.
<tnt> actually you don't even use the global outputs of the PLL so it shouldn't use any global buffer but ATM they get assigned irrespectively if the global outputs are used or not.
<whitequark> ahh
<whitequark> so the fix for input path being unused is upstream?
<tnt> yes
<whitequark> sweet, thank you
<whitequark> PLLs have always been a kind of sore spot
<tnt> yeah, they're definitely a bit weird and so handling all that in nextpnr hasn't been trivial.
electronic_eel has quit [Quit: Konversation terminated!]
bgamari has quit [Ping timeout: 264 seconds]
bgamari has joined #glasgow
<eddyb> does Lattice have any FPGA with integrated level shifters (comparable to what Glasgow does with external chips)?
<tnt> eddyb: well you can choose the Vio per bank ... within some limits.
<eddyb> although I guess that could increase the cost of a chip anyway, so it'd be mostly about reducing total board area
<eddyb> tnt: hmm can you pick something other than the several LV options?
<eddyb> that are listed in the datasheet
<tnt> eddyb: sure anything between the min and max will work fine.
<tnt> it's just not "specifieD" (i.e. they didn't test the theshold etc ...)
<eddyb> huh, I had the impression you had to pick something like 3.3V, 2.5V or one of the other ones
<eddyb> tnt: why does the max frequency differ with voltage then?
<whitequark> the capacitance stays the same
<eddyb> or are there several ranges within which you can pick any value?
<whitequark> the swing is different
<tnt> the max frequency of a level shifter also depends on the voltage ...
<eddyb> oh fuck wow
<whitequark> also yes
<eddyb> so the values they give are what they tested and guarantee?
<tnt> mm, they might just be "typical" values, not sure what the datasheet says.
<eddyb> okay so what an iCE40 is missing is more like 5V, ESD protection, etc. right?
<eddyb> tnt: I guess, and it probably depends on what you connect to that pin externally
<whitequark> the iCE40 drivers are also fairly weak
<eddyb> that I expected, heh. maybe MachXO3 is slightly better? anyway, I couldn't find much about Lattice
<whitequark> you get 8 mA per pin
<whitequark> well, i guess it's not that weak...
<eddyb> but it sounds like some Altera FPGAs have fancier IO
<whitequark> but the shifters can drive like 100 mA without apparent harm to them
<eddyb> whitequark: well, all the FPGA has to drive is an LED :P
<eddyb> (does this count as an optocoupler joke?)
<whitequark> optocouplers are extremely slow
<eddyb> dammit
<whitequark> you'd be hard pressed to find one that works at >1 MHz
<whitequark> people use microscopic inductors, see the ADuM series
<eddyb> I'm surprised, given what I've heard fiber being used for. or is it a latency thing?
<whitequark> fiber does not use optocouplers.
<eddyb> sorry, I deleted a thing about not being sure how close the technology is, since I couldn't figure out how to phrase it
<eddyb> anyway,,, it does seem safer to not get higher current and/or voltage on the same die as the precious logic blocks
<whitequark> what do you want anyway
<eddyb> I should study STARSHIPRAIDER, it probably explains how you make the big daddy of Glasgow
<eddyb> or at least points in the right direction (idk how much of it is done)
<whitequark> STARSHIPRAIDER is less flexible, actually
<eddyb> hah!
<whitequark> it uses a huge mux
<eddyb> whitequark: okay, more to the point: I'm curious what you could do if you needed more channels: are there wider level shifters, or do you need to keep adding chips?
<whitequark> nope, one chip and two capacitors per bit.
<eddyb> wait how did I miss that jeeez
<whitequark> there are wider level shifters, with one OE signal per group
<eddyb> actually, you could have an expansion board for Glasgow with the same hardware as on the main board, and that plugs into the big LV header, couldn't you?
<eddyb> anyway I'd be glad to use Glasgow for one I2C or JTAG port rn, and leave any wider stuff for later :D
<eddyb> (and rn I should sleep instead of getting hyped)
<whitequark> eddyb: do you have a glasgow already?
<eddyb> no, patiently waiting to place an order :D
<eddyb> considering assembling myself but unsure if wise as a first attempt at surface-mount (and I've barely done any soldering period, and it was long ago)
<whitequark> nope
<whitequark> it's quite fine pitch
<eddyb> and I'm the opposite of pitch-perfect :P
<eddyb> whitequark: fwiw if I buy one or two on the company, I wouldn't mind them being overpriced
<eddyb> to help with further development and stuff
<eddyb> (I mean, I'd buy ten but idk what I'd do with them,,,)
<whitequark> esden keeps what people pay esden for glasgows
<eddyb> oh I wasn't sure who would sell assembled glasgows
<esden> whitequark: and sends free hardware to core developers :D ... when he eventually finally builds them... :/
bgamari has quit [Ping timeout: 240 seconds]
<esden> (trying to wrap up all the needed information to order preassembled Pmods from PCBWay ... *grind*)
bgamari has joined #glasgow
<davidc__> esden: heh.. you should get around to that, or I might have to get into the business!
<davidc__> esden: (I mean, not that I want to, but if I have to do my own prod run to get myself a board, I'm going to build enough to sell to cover the NREs!)
<gruetzkopf> It's not like I don't have a company that deals with assembly houses all day .
<davidc__> esden: (and TBH, I'd much rather just pay someone else for a completed unit.....)
<gruetzkopf> I could have some made at a rail-certified assembler or three
<esden> davidc__: I know I know... I want to work on reviewing revC1 as soon as I am done with this step here. And then order a pile of prototype boards. I did that for revC0 and that one became obsolete before I came around to assemble them. :(
<esden> marcan and whitequark are just moving too fast with their changes and improvoments...
<esden> I hope C1 is stable enough now and will not require too many bodge wires. :D
Jasjar has joined #glasgow
Jasjar has quit [Remote host closed the connection]
Jasjar has joined #glasgow
<_whitenotifier-1> [Glasgow] esden created branch 1b2-keys - https://git.io/fhhGp
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] esden pushed 1 commit to 1b2-keys [+0/-0/±4] https://git.io/fjY2w
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] esden 7f0f774 - revC1: Added BOM management keys to the schematic.
<_whitenotifier-1> [Glasgow] esden opened pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY2r
<_whitenotifier-1> [Glasgow] whitequark commented on pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY2P
<_whitenotifier-1> [Glasgow] esden commented on pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY2M
<_whitenotifier-1> [Glasgow] whitequark commented on pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY29
<_whitenotifier-1> [Glasgow] whitequark opened issue #130: Change regulator from MIC5355-S4YMME - https://git.io/fjY25
<_whitenotifier-1> [Glasgow] whitequark assigned issue #130: Change regulator from MIC5355-S4YMME - https://git.io/fjY25
<_whitenotifier-1> [Glasgow] whitequark assigned issue #127: Add LEDs for status of port Vio - https://git.io/fjmPT
<whitequark> esden: I thiiink 127 and 130 are the two remaining issues
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] esden pushed 1 commit to 1b2-keys [+0/-0/±4] https://git.io/fjY2b
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] esden 1c7a99e - revC1: Added BOM management keys to the schematic.
<_whitenotifier-1> [Glasgow] esden synchronize pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY2r
<_whitenotifier-1> [Glasgow] esden commented on pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY2N
<_whitenotifier-1> [Glasgow] whitequark closed pull request #129: revC1: Added BOM management keys to the schematic. - https://git.io/fjY2r
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] whitequark pushed 1 commit to master [+0/-0/±4] https://git.io/fjY2x
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] esden e601fab - revC1: Added BOM management keys to the schematic.
<_whitenotifier-1> [Glasgow] whitequark deleted branch 1b2-keys - https://git.io/fhhGp
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] whitequark deleted branch 1b2-keys
<esden> whitequark: looking at the issues you are probably correct. (maybe we should have a badge for issues that imply "board layout change" so we can just filter them out?)
<esden> or not even layout change, hardware change in general?
<whitequark> esden: that's what "revC" generally means
<whitequark> hrm
<whitequark> wait
<whitequark> yeah i'm going to add a tag for "hardware"
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #63: Add alignment holes on stencil - https://git.io/fjYae
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #35: Slew rate limiting resistors - https://git.io/fjYav
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #40: Add IFCLK test point - https://git.io/fjYaf
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #59: ESD protection on Vio and Vsense pins - https://git.io/fjYaJ
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #38: Use an FX2LP in a BGA package? - https://git.io/fjYaU
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #51: Make SYNC pullup smaller - https://git.io/fjYaT
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #51: Make SYNC pullup smaller - https://git.io/fjYaT
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #34: Use a dedicated USB protection IC instead of a regular fast-blow fuse - https://git.io/fjYak
<_whitenotifier-1> [Glasgow] whitequark unassigned issue #34: Use a dedicated USB protection IC instead of a regular fast-blow fuse - https://git.io/fjYak
<whitequark> wtf
<esden> Ohh very nice!!! :D
<whitequark> i went through historical revisions too
<whitequark> it seems to have unassigned awygle from everywhere
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fjYaz
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] whitequark 2c53ce1 - README: add disclaimer on design overview, license, contributors.
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fjYa2
<_whitenotifier-1> [GlasgowEmbedded/Glasgow] whitequark e915e0f - README: add disclaimer on design overview, license, contributors.
<_whitenotifier-1> [Glasgow] Error. The Travis CI build could not complete due to an error - https://travis-ci.org/GlasgowEmbedded/Glasgow/builds/521024035?utm_source=github_status&utm_medium=notification