sb0 changed the topic of #m-labs to: https://m-labs.hk :: Logs http://irclog.whitequark.org/m-labs :: Due to spam bots, only registered users can talk. See: https://freenode.net/kb/answer/registration
atk18 has quit [Remote host closed the connection]
okdas has joined #m-labs
okdas has quit [Ping timeout: 260 seconds]
tesu27 has joined #m-labs
tesu27 has quit [Remote host closed the connection]
vectr0n26 has joined #m-labs
vectr0n26 has quit [K-Lined]
trisk18 has joined #m-labs
trisk18 has quit [Remote host closed the connection]
ibiza11 has joined #m-labs
ibiza11 has quit [Remote host closed the connection]
WhitePhosphorus1 has joined #m-labs
WhitePhosphorus1 has quit [Remote host closed the connection]
bleepy14 has joined #m-labs
bleepy14 has quit [K-Lined]
Reincarnate7 has joined #m-labs
Reincarnate7 has quit [Remote host closed the connection]
and has joined #m-labs
and has quit [Remote host closed the connection]
rohitksingh_work has joined #m-labs
johtso has joined #m-labs
johtso has quit [Ping timeout: 256 seconds]
L2350 has joined #m-labs
L2350 has quit [Ping timeout: 256 seconds]
madduck8 has joined #m-labs
madduck8 has quit [Remote host closed the connection]
hammer06515 has joined #m-labs
loeken9 has joined #m-labs
hammer06515 has quit [Ping timeout: 268 seconds]
Zoddo3 has joined #m-labs
loeken9 has quit [Remote host closed the connection]
Zoddo3 has quit [Remote host closed the connection]
rohitksingh_wor1 has joined #m-labs
rohitksingh_work has quit [Ping timeout: 268 seconds]
Levex has joined #m-labs
Levex has quit [Remote host closed the connection]
cylon512_ has joined #m-labs
cylon512_ has quit [Ping timeout: 260 seconds]
X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <- In tests, 0x09 out of 0x0A l33t h4x0rz prefer it :)]
nkuttler19 has joined #m-labs
j-fish has joined #m-labs
nkuttler19 has quit [Ping timeout: 260 seconds]
j-fish is now known as Guest50187
Guest50187 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Oats87 has joined #m-labs
Oats87 has quit [Remote host closed the connection]
<GitHub7> [smoltcp] pothos commented on issue #253: @jhwgh1968 In my tests it works well except for buffer sizes which lead to a situation where a socket can't connect. Your test value 262143 works, 524288 works not, 1000000 works, 1048576 does not etc… I haven't looked into detailed stocket state yet, but maybe you already have an idea?... https://github.com/m-labs/smoltcp/pull/253#issuecomment-410622137
<sb0> larsc, do you know if the hmc7043 is glitchless when adjusting the digital delays?
<sb0> (the 1/2 clkin delay)
<sb0> the DAC sync sometimes craps out when I touch the digital delay (by an amount that should not do anything), so I suspect it isn't
<sb0> it's remarkable how many bugs this chip can cause
<larsc> I believe it is supposed to be glitchless
<larsc> do you move the DAC clock or the SYSREF?
<sb0> SYSREF
tx6 has joined #m-labs
<sb0> when the breakage happens, I'm doing two things: resetting the analog fine delay to 0, and increasing the digital delay by 1/2 clkin
<sb0> touching the analog delay alone doesn't seem to cause issues, so it would appear to be glitchless as advertised
<sb0> though I haven't tried giving it large jumps without simultaneously changing the digital delay
<larsc> if the sysref jumps from one clock cyclce to the next that might upset the DAC
<sb0> yep, the DAC does report such a sysref jump
tx6 has quit [Ping timeout: 240 seconds]
<larsc> but according to your calculations the increase in delay is not enough to cause such a jump?
<sb0> yes
<sb0> well
<sb0> what I am doing is: setting the analog delay to 0, then immediately increasing the digital delay
<sb0> if those actions are taken in sequence then that shouldn't cause a jump
<sb0> if the analog delay has some response time and the adjustement doesn't complete before the digital delay is increased, there may be a problem
<sb0> well. i guess a simple workaround is to tell the DAC to ignore SYSREF while the 7043 is doing its thing
<sb0> so much for the "Glitchless phase control of signals" in the datasheet ...
<sb0> at least the ad9154 seems to have working and thought-through sysref diagnostics
Lildirt has joined #m-labs
Lildirt has quit [Remote host closed the connection]
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/65f198bdeed0553984db7787de9c202ab0e5ce1d
<GitHub-m-labs> artiq/master 65f198b Sebastien Bourdeauducq: kasli: use tester EEMs for DRTIO, add Urukul-Sayma sync example
lutoma26 has joined #m-labs
genera14 has joined #m-labs
lutoma26 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
genera14 has quit [Remote host closed the connection]
<GitHub195> [smoltcp] pothos commented on issue #253: @jhwgh1968 In my tests it works well except for buffer sizes which lead to a situation where a socket can't connect. Your test value 262143 works, 524288 works not, 1000000 works, 1048576 does not etc… I haven't looked into detailed stocket state yet, but maybe you already have an idea?... https://github.com/m-labs/smoltcp/pull/253#issuecomment-410622137
Zuu_ has joined #m-labs
<GitHub44> [smoltcp] pothos commented on issue #253: @jhwgh1968 In my tests it works well except for buffer sizes which lead to a situation where a socket can't connect. Your test value 262143 works, 524288 works not, 1000000 works, 1048576 does not etc… I haven't looked into detailed stocket state yet, but maybe you already have an idea?... https://github.com/m-labs/smoltcp/pull/253#issuecomment-410622137
anticrisis has joined #m-labs
anticrisis has quit [Remote host closed the connection]
Zuu_ has quit [Remote host closed the connection]
ultrabong has joined #m-labs
<bb-m-labs> build #1757 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1757
ultrabong has quit [Ping timeout: 264 seconds]
<bb-m-labs> build #930 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/930
<bb-m-labs> build #2544 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2544
<GitHub-m-labs> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/65f198bdeed0...7f0b2ff59433
<GitHub-m-labs> artiq/master f32f012 Sebastien Bourdeauducq: Revert "ad9154: use continuous sync mode"...
<GitHub-m-labs> artiq/master 7f0b2ff Sebastien Bourdeauducq: jesd204sync: work around HMC7043 poor behavior with combined delays...
rohitksingh_work has joined #m-labs
rohitksingh_wor1 has quit [Ping timeout: 240 seconds]
<GitHub-m-labs> [artiq] hartytp commented on issue #1080: Other thoughts:... https://github.com/m-labs/artiq/issues/1080#issuecomment-410659064
<bb-m-labs> build #1758 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1758
<GitHub-m-labs> [artiq] sbourdeauducq opened issue #1127: Sayma intermittent STPL test failure https://github.com/m-labs/artiq/issues/1127
<bb-m-labs> build #2545 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2545 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
hartytp has joined #m-labs
<hartytp> sb0: IIRC the HMC7043 phase shifting really is glitchless
<hartytp> I set Sayma up to scan the analog and digital delays at the same time and looked on a scope
<hartytp> think I have a video somewhere
<sb0> hartytp, yes, but you can't change both analog and digital delays at the same time in a glitchless manner
<hartytp> true
<hartytp> (anyway, that test was a while ago, so would need to dig out my notes to confirm that memory)
<sb0> anyway, the latest code deals with that, and I don't see any error in the log anymore
<sb0> though the DAC outputs are still borked
<sb0> typical breakage is +53.32ns of delay or -53.32ns of delay
<sb0> that's 8 cycles of the 150MHz clock
<sb0> larsc, any idea what can cause DACs to have those jumps?
<sb0> i.e. in most cases (i.e. unless some other shitbug hits), I measure the phase difference between the DACs to be 0 (which is what it should be), -8 cycles of 150MHz, or +8 cycles of 150MHz
<sb0> in theory with the same sysref...
<sb0> which is verified to meet s/h at both DACs
<sb0> sample rate is 600MHz
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1080: > Is it worth Greg looking at the JESD lines with a scope?... https://github.com/m-labs/artiq/issues/1080#issuecomment-410667084
<sb0> larsc, is it OK to send the DAC multiple SYNC_CONTROL at once like this:
<sb0> setting sync mode, enabling the sync system, arming one-shot sync, and clearing sticky bits
<sb0> or do I have to do things one by one as the datasheet might perhaps seem to suggest?
<larsc> I'd follow what the datasheet suggests. I don't know what how it is implemented at the silicon level
<sb0> well the datasheet isn't very clear
<larsc> the datasheet seems to say, enable and arm should be separate steps
<sb0> okay, i'll try that, thanks
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/bbe36b94f7da6244a473349221ca35eb2dacfe0d
<GitHub-m-labs> artiq/master bbe36b9 Sebastien Bourdeauducq: ad9154: enable sync in init
<sb0> it doesn't seem to be the problem
<GitHub-m-labs> [artiq] gkasprow commented on issue #1080: What is GTX TX level right now? https://github.com/m-labs/artiq/issues/1080#issuecomment-410672939
<sb0> what seems to be the problem, on the other hand, is either the DAC or the 7043 has some history of previous SYSREF settings
<sb0> set sysref phases to known-good values, initialize everything once => DAC are synchronized properly
<sb0> mess around with sysref, then program the same SYSREF phase value and resynchronize the DAC => intermittent 0/-8/+8 bug above
<sb0> hartytp, when you have time, can you measure with the fast scope that the final SYSREF phases with scenario #2 are indeed what they are supposed to be?
<sb0> well I can try to narrow it down further in code first...
<sb0> but at least we have a workaround, and relatively stable SAWG with 8 channels now.
<sb0> also, any sights of the STPL bug? or is it only my board?
gr33n7007h has joined #m-labs
gr33n7007h is now known as Guest14882
Guest14882 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
<sb0> okay, it's board_artiq::jesd204sync::sysref_auto_rtio_align that breaks DAC sync...
<sb0> there are no DAC resyncs in that function, so probably that crappy 7043 is at it again
<sb0> hartytp, had you tested the 7043 slips on the scope? any quirks or misbehavior?
sb0 has quit [Quit: Leaving]
<bb-m-labs> build #1759 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1759
Nick`18 has joined #m-labs
Nick`18 has quit [Remote host closed the connection]
Inception has joined #m-labs
<bb-m-labs> build #931 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/931
<bb-m-labs> build #2546 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2546
Inception has quit [Remote host closed the connection]
Captain_Beezay has joined #m-labs
Captain_Beezay has quit [K-Lined]
<hartytp> sb0: nothing I saw, but it can be easy to miss
rohitksingh_work has quit [Read error: Connection reset by peer]
little-dude has joined #m-labs
Reincarnate19 has joined #m-labs
Reincarnate19 has quit [Ping timeout: 256 seconds]
rohitksingh has joined #m-labs
<GitHub-m-labs> [artiq] jordens commented on issue #1103: ping @drewrisinger https://github.com/m-labs/artiq/pull/1103#issuecomment-410724113
rqou_ has joined #m-labs
rqou has quit [Ping timeout: 240 seconds]
rqou_ is now known as rqou
mnemonic has joined #m-labs
mnemonic is now known as Guest48587
Guest48587 has quit [K-Lined]
jeblair has joined #m-labs
jeblair is now known as Guest75226
Guest75226 has quit [Remote host closed the connection]
hartytp has quit [Quit: Page closed]
rohitksingh has quit [Quit: Leaving.]
primalz29 has joined #m-labs
primalz29 has quit [Remote host closed the connection]
Guest72310 has joined #m-labs
Guest72310 has quit [Remote host closed the connection]
Atlas2727 has joined #m-labs
Atlas2727 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
Fleet21 has joined #m-labs
Fleet21 has quit [K-Lined]
Smeef6 has joined #m-labs
Smeef6 has quit [Remote host closed the connection]
ketralnis has joined #m-labs
ketralnis has quit [K-Lined]
}ls{20 has joined #m-labs
}ls{20 has quit [Remote host closed the connection]
mumptai has joined #m-labs
Auctus1 has joined #m-labs
Auctus1 has quit [Remote host closed the connection]
ABIX_Adamj has joined #m-labs
ABIX_Adamj has quit [Ping timeout: 240 seconds]
cncr04s5 has joined #m-labs
cncr04s5 has quit [K-Lined]
abian17 has joined #m-labs
abian17 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
ovrstorm has joined #m-labs
ovrstorm has quit [Remote host closed the connection]
Sigals has joined #m-labs
Sigals has quit [Ping timeout: 240 seconds]
Netham459 has joined #m-labs
Netham459 has quit [Remote host closed the connection]
CoJaBo28 has joined #m-labs
mumptai has quit [Remote host closed the connection]
CoJaBo28 has quit [Remote host closed the connection]
nate17 has joined #m-labs
nate17 has quit [Remote host closed the connection]
maskedlua4 has joined #m-labs
maskedlua4 has quit [K-Lined]
AbbeyRipstra15 has joined #m-labs
AbbeyRipstra15 has quit [Remote host closed the connection]
epic25 has joined #m-labs
epic25 has quit [K-Lined]
<cr1901> sb0: I updated tinyfpga_a platform PR with that 6 line change finally (took me long enough). Everything checks out on my end at least (though diamond support still needs work...)