sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
<mtrbot-ml_> [mattermost] <sb10q> OK, well let's use the MMU
<mtrbot-ml_> [mattermost] <sb10q> Or compile for stm32.whatever gets this thing running faster
<mtrbot-ml_> [mattermost] <astro> excuse the really stupid question: do you mean sooner or with higher performance?
<mtrbot-ml_> [mattermost] <sb10q> sooner
<mtrbot-ml_> [mattermost] <sb10q> we can always turn on the MMU later to optimize it
<mtrbot-ml_> [mattermost] <astro> ok
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
sb0 has joined #m-labs
sb0 has quit [Quit: Leaving]
rohitksingh_work has joined #m-labs
iwxzr has joined #m-labs
kmehall has quit [Remote host closed the connection]
kmehall has joined #m-labs
flammit has quit [Ping timeout: 252 seconds]
flammit has joined #m-labs
cedric has quit [Ping timeout: 245 seconds]
cedric has joined #m-labs
cedric has quit [Changing host]
cedric has joined #m-labs
m4ssi has joined #m-labs
proteusguy has quit [Remote host closed the connection]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh_work has joined #m-labs
ohsix has quit [Ping timeout: 245 seconds]
futarisIRCcloud has joined #m-labs
rohitksingh_work has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
<mtrbot-ml_> [mattermost] <hartytp> @sb10q Thermistors are very non-linear, whereas the ad590 provides a pretty constant uA/K
<mtrbot-ml_> [mattermost] <hartytp> if you just want to use a thermistor around room temp, that's not an issue
<mtrbot-ml_> [mattermost] <hartytp> but if you want to vary the temperature over 10s of degrees, you have to deal with significant variations in the thermistor sensitivity. That's a pita for analog control loops.
<mtrbot-ml_> [mattermost] <sb10q> okay, but do you care about the absolute laser temperature or just want to set it to reproducible setpoints?
<mtrbot-ml_> [mattermost] <hartytp> also, to preserve thermistor accuracy far from T0, you need a well calibrated thermistor, which isn't so cheap (a really cheap one will not be accurate far from T0)
<mtrbot-ml_> [mattermost] <hartytp> depends on the application.
<mtrbot-ml_> [mattermost] <hartytp> if you just want something to play with then I would porbably use a thermistor
<mtrbot-ml_> [mattermost] <sb10q> what applications need an accurate actual temperature reading?
<mtrbot-ml_> [mattermost] <hartytp> e.g. if you characterise a diode in a test setup, put it back in a drawer and then want to reproduce your old results in a new setup
<mtrbot-ml_> [mattermost] <hartytp> also, having a constant sensor gain is nice for control loops
<mtrbot-ml_> [mattermost] <hartytp> the other thing about the ad590 is that the front-end circuit is simpler than a thermistor since it provides a constant current
<mtrbot-ml_> [mattermost] <hartytp> e.g. compare data sheet figure 17 to the typical bridge circuits for thermistors
<mtrbot-ml_> [mattermost] <hartytp> anyway, by the sounds of it, for what you're doing a cheapo thermistor will be fine
<mtrbot-ml_> [mattermost] <sb10q> ok. will the sinara thermostat support both thermistors and ad590 type of devices?
<mtrbot-ml_> [mattermost] <hartytp> by default it will only support resistive sensors like thermistors and RTDs
<mtrbot-ml_> [mattermost] <hartytp> (It won't provide the 4V supply that the 590 needs)
<mtrbot-ml_> [mattermost] <sb10q> hmm
<mtrbot-ml_> [mattermost] <hartytp> unless you're interfacing with a pre-existing design with a 590 that shouldn't be a problem, since a well-calibrated thermistor can usually provide decent accuracy over the ranges one cares about (although, the effective ADC noise increases with decreasing detector gain, it's so small it should still be fine for most applications)
<mtrbot-ml_> [mattermost] <sb10q> you probably know more, but it sounded to me that the ad950 was a really popular choice in ECDLs
<mtrbot-ml_> [mattermost] <hartytp> pass. might well be, I haven't checked.
<mtrbot-ml_> [mattermost] <hartytp> replacing the temperature controller in an existing ECDL is not something I've worried about.
<mtrbot-ml_> [mattermost] <hartytp> For a new design, a decent Thermistor should generally do fine
<mtrbot-ml_> [mattermost] <sb10q> I wonder how hard it would be to add 950 support to the hardware
<mtrbot-ml_> [mattermost] <sb10q> er, 590
<mtrbot-ml_> [mattermost] <hartytp> anyway, if you have a design that needs a 590, open an issue and we can consider options. We can probably add some jumpers to allow both to be supported. Someone just needs to check compliance, voltage requirements etc, which I don't have time to do right now
<mtrbot-ml_> [mattermost] <sb10q> we have a 5V rail already
<mtrbot-ml_> [mattermost] <sb10q> the 590 takes 4V to 30V
<mtrbot-ml_> [mattermost] <sb10q> personally I don't really need a 590; but it seems a popular option in several commercial or academic designs, and it might be interesting to support it
<mtrbot-ml_> [mattermost] <hartytp> can you open an issue?
<mtrbot-ml_> [mattermost] <sb10q> ok
rohitksingh has joined #m-labs
<mtrbot-ml_> [mattermost] <hartytp> thx. It's a good idea to check if we can support them easily
proteusguy has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
flammit has joined #m-labs
flammit has quit [Ping timeout: 248 seconds]
proteusguy has quit [Ping timeout: 245 seconds]
m4ssi has quit [Remote host closed the connection]
ohsix has joined #m-labs
rohitksingh has quit [Ping timeout: 246 seconds]
rohitksingh has joined #m-labs
<Astro-> success: properly setup mmu and unaligned access no longer cause cpu exceptions
<cr1901_modern> I wonder why that would be...
<cr1901_modern> i.e. why would the MMU all of a sudden make the CPU stop caring about unaligned access
<Astro-> you actually need to set the U bit in SCTLR but it only works if the mmu is enabled
<Astro-> maybe it is the mmu that does the actual bit shifting?
<cr1901_modern> ahhh
<cr1901_modern> My own experience talking to people is (reluctantly) unaligned accesses should be built into all CPU archs without jumping through hoops
rohitksingh has quit [Ping timeout: 258 seconds]
rohitksingh has joined #m-labs
<TD-Linux> keep in mind #[repr(align())] only aligns struct members, not the struct itself
<TD-Linux> ... nvm apparently it guarantees where the struct itself is allocated too, at least in theory.
<Astro-> I have only one struct member.
proteusguy has joined #m-labs
futarisIRCcloud has joined #m-labs
<TD-Linux> I had to look what we did for aligned arrays and it is a hack relying on that https://github.com/xiph/rav1e/blob/master/src/util.rs#L28
<_whitenotifier-3> [nmigen-boards] Fatsie opened pull request #5: Convert DOS line endings. - https://git.io/fjVIB
<_whitenotifier-3> [nmigen-boards] Fatsie opened pull request #6: mystorm BlackIce support - https://git.io/fjVIR
<_whitenotifier-3> [nmigen-boards] Fatsie opened pull request #7: mystorm BlackIceII support - https://git.io/fjVIu
rohitksingh has quit [Ping timeout: 246 seconds]
felix_ has quit [Quit: leaving]
felix_ has joined #m-labs
<Astro-> after rechecking my io initialization, I can talk to the PHY
gnufan_home has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
synaption[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
futarisIRCcloud has joined #m-labs