cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
lehmrob has joined #rust-embedded
<re_irc>
<@djc:mozilla.org> : thanks for the suggestions around the clock stuff!
<re_irc>
<@djc:mozilla.org> so my next issue is that I'm trying to flash a minimal blinky LED thingy onto the dongle, but I can't figure out the right memory layout thing? I tried the "memory.x" for the dk and the dongle from the embedded-trainings-2020 repo (https://github.com/ferrous-systems/embedded-trainings-2020/blob/main/boards/dk/memory.x) (and the memory layout...
<kenny>
Not sure if there's a better channel for this, but I'm trying the lpcomp code in the nrf-hal-common, and the inputs _have_ to be Floating. I didn't find a mention of this in the datasheet, so I was wondering if anyone knew if this was a hardware requirement, or a bug in the code and Input<PullUp> should be supported?
<re_irc>
<@jamesmunns:beeper.com> Might be worth checking the errata?
<re_irc>
<@jamesmunns:beeper.com> Which nRF are you looking at? Tho I don't see any errata
<re_irc>
<@jamesmunns:beeper.com> Though if the internal pullups (relatively small, maybe something like 30k?) are strong enough to interfere with your external signal, that could be a problem I guess?
<kenny>
(what I'm looking to do is get an event on rising and lowering edges. I first tried the gpiote code, but it seems that only does one edge (although I saw some people saying using two works on the same pin, even if not officially supported). I thought maybe lpcomp work be better, but then ran in to the pull-up issue)
<re_irc>
<@peter9477:matrix.org> Actually not confident he's with Nordic, but his response seems legit. There was another forum thread where an actual engineer claimed otherwise, but the OP in that case followed up and said after checking, it was clear the engineer was wrong...
<kenny>
lol. Okay, thanks. I guess I'm in to undocumented either way. Maybe I'll give it a try
<re_irc>
<@jamesmunns:beeper.com> Ah! I missed that it was "doesn't compile" and not "compiles but doesn't actually work"
<re_irc>
<@jamesmunns:beeper.com> then yes, that just looks like a limitation in the hal code :D
<re_irc>
<@peter9477:matrix.org> Hehe, found a post where the OP linked to some Embassy code, and the Nordic guy responded "We don't support RUST"... (but was otherwise helpful... he just meant he's not going to go read a bunch of Rust to help the guy with the source code)