!dASuPAbUCerhCYFqJs:matrix.org

nRF Rust

255 Members
Discussion medium for the nRF-rs organization on Github27 Servers

Load older messages


SenderMessageTime
17 May 2024
@jamesmunns:beeper.comJames Munnsyep, but there's like 2-3 different "flavors" of quad commands, like pp4io and some other ones18:33:42
@bsun:matrix.orgBennthough its the standard Write Status Register with 0x40 set18:33:45
@jamesmunns:beeper.comJames Munnsand not all chips support all commands18:33:46
@jamesmunns:beeper.comJames MunnsRedacted or Malformed Event18:34:45
@jamesmunns:beeper.comJames MunnsScreenshot 2024-05-17 at 20.35.43.png
Download Screenshot 2024-05-17 at 20.35.43.png
18:35:57
@jamesmunns:beeper.comJames MunnsScreenshot 2024-05-17 at 20.36.28.png
Download Screenshot 2024-05-17 at 20.36.28.png
18:36:38
@jamesmunns:beeper.comJames Munns Okay, so are you settingREADOC to either READ4O or READ4IO and WRITEOC to PP4O? 18:37:56
@jamesmunns:beeper.comJames MunnsI guess you said reads are failing, and haven't tried writes, so it's probably not that18:38:13
@bsun:matrix.orgBenn the mBed/arduino example i have uses 0x6b (so QREAD) and 0x32 (PP4O) which is what i'm trying 18:38:48
@bsun:matrix.orgBenni did try writing via quad and then restarting to try to read, which also didn't work (looked like the write did not go through)18:40:08
@bsun:matrix.orgBenn * i did try writing via quad and then restarting to try to read via dual, which also didn't work (looked like the write did not go through)18:40:38
@jamesmunns:beeper.comJames Munnsthis was my qspi driver last time I tried to do qspi on the nrf52: https://github.com/anachro-rs/powerbus/blob/7968bceaa58d5d546f981286616c6b4dcfad3102/anachro-qspi/src/lib.rs#L9218:40:41
@jamesmunns:beeper.comJames Munnstho i'm sure embassy's qspi driver probably works better18:41:01
@jamesmunns:beeper.comJames Munnshttps://infocenter.nordicsemi.com/topic/errata_nRF52840_Rev3/ERR/nRF52840/Rev3/latest/err_840_new.html has some gross errata IIRC, but most of them apply to XIP mode I think?18:42:05
@bsun:matrix.orgBennisnt that just single line though? line 155 sets FASTREAD18:43:00
@jamesmunns:beeper.comJames MunnsYeah, I think I turned it off for reasons? honestly its been a couple of years šŸ˜…18:43:26
@bsun:matrix.orgBenni see read4io commented out18:43:27
@bsun:matrix.orgBennhonestly i'm fine with dual line, my workload here is not read/write heavy. mostly just for durably storing config18:44:00
@jamesmunns:beeper.comJames Munns

Switch to single pair, slower comms for now to work around bad assembly

oh, I had a bad board

18:44:07
@jamesmunns:beeper.comJames Munnsit did work with the commented out settings, minus the QSPI errata in XIP mode tho, for sure18:45:03
20 May 2024
@thejpster:matrix.orgthejpsterwould it be possible to get a new release of nrf-usbd, and then get a bump on nrf-hal that uses it? I'm using the nrf-hal to do radio and USB things (and I haven't ported the radio driver to embassy yet), and I'm stuck on usbd-serial 0.1 and usbd-device 0.2 because that's what nrf-usbd supports.17:54:31
@thejpster:matrix.orgthejpsterI see nrf-usbd has been updated, it just needs a release17:54:50
@thejpster:matrix.orgthejpster also, TIL what composite_with_iads() does, and why Windows gets sad without it 17:55:12
@qwandora:matrix.orgAndrew WalbranSeems like a good idea23:57:24
21 May 2024
@qwandora:matrix.orgAndrew WalbranI've sent a couple of PRs to update other dependencies and tidy things up a bit, want to review them?17:08:32
@qwandora:matrix.orgAndrew Walbranhttps://github.com/nrf-rs/nrf-usbd/pull/1917:08:34
@qwandora:matrix.orgAndrew Walbranhttps://github.com/nrf-rs/nrf-usbd/pull/2017:08:41
@qwandora:matrix.orgAndrew Walbranthen https://github.com/nrf-rs/nrf-usbd/pull/21 for the release17:08:58
22 May 2024
@qwandora:matrix.orgAndrew Walbran any more changes to get in before I cut a release of nrf-usbd? 10:15:58
23 May 2024
@bsun:matrix.orgBenn In the nrf-softdevice examples (the keyboard one especially) how are the services supposed to be used? Iā€™m thinking of things like ā€œI have a task that is watching pin state for button pressesā€ or ā€œI have a task monitoring battery chargeā€ and wondering how I either use the service to notify the central device or pass an event to the service 00:01:03

Show newer messages


Back to Room ListRoom Version: 4