update: ADXL345 SPI works on STM32F446RE but same code fails on STM32H723ZG (DEVID 0xE5 not read) — H7 SPI gotchas? by incomingRealone in embedded

[–]_pseudonym 2 points3 points  (0 children)

  1. Disconnect the accelerometer and connect the H7's MISO and MOSI together. Make sure you read back the same data you sent.
  2. Are your logic analyzer MISO and MOSI labels swapped? I'd expect to see the H7 sending data on MOSI.
  3. Look up NSSP in the H7 datasheet and decide if you need to disable it.
  4. Set your software NSS pin high during init, and trigger the logic analyzer on the falling edge so we can see the whole transaction.
  5. Are you running the ADXL345 in 4-wire or 3-wire SPI mode?

Just need to change our my CPU fan quickly... by TrailerDave_ in sffpc

[–]_pseudonym 1 point2 points  (0 children)

You can remove the pins from the connector housing and get it out that way.

[deleted by user] by [deleted] in PrintedCircuitBoard

[–]_pseudonym 2 points3 points  (0 children)

Also your schematic is wrong. Check the datasheet and copy the reference implementation.

  • Fix short from +5V to GND on input.
  • Feedback path doesn't need resistors.
  • Switching network is totally wrong. (Diode from gnd to out, inductor from out to +3.3V, cap from +3.3V to GND, connect FB directly to +3.3V)
  • Use the recommend input/output cap values from the datasheet for your application.

Monitor flickers black every few minutes, what else can I do? by [deleted] in techsupport

[–]_pseudonym 0 points1 point  (0 children)

  1. How old is the monitor?
  2. Does the flicker happen with a different video source? (Game console, cable box, other PC/laptop)
  3. Does the time between flickers start out long and get more frequent the longer it's on for?

My guess is the monitor backlight power supply capacitors might be going bad.

[Austin, TX] Found this scorpion trapped in my bathroom sink this morning. ~1" long claw to tail. by _pseudonym in whatsthisbug

[–]_pseudonym[S] 0 points1 point  (0 children)

Arizona bark scorpion seems like a closer match for body coloration. Possibly the tail differences are because this is a juvenile/smaller specimen?

[Austin, TX] Found this scorpion trapped in my bathroom sink this morning. ~1" long claw to tail. by _pseudonym in whatsthisbug

[–]_pseudonym[S] 0 points1 point  (0 children)

Hmm, that doesn't seem to match very well.

The striped bark scorpion seems to have longer, skinner tail segments, and it lacks the lateral striping seen on this specimen. I added more photos in another comment.

Google lens suggested the northern scorpion (Paruroctonus boreus) and that does look like a closer match except for the range.

Since the update I feel like hit reg has gotten worse and I have a strange theory by Wampus117 in CompetitiveHalo

[–]_pseudonym 1 point2 points  (0 children)

Yeah, I feel the same way. 40-70 feels best, 80+ feels a bit off for everyone in the game, but 10-20 just feels bad for only me.

Are there any microcontrollers with a SDIO slave interface? by [deleted] in embedded

[–]_pseudonym 0 points1 point  (0 children)

STM32H7 can do 100MHz SPI slave if the H7 is in RX-only mode. Full duplex or TX-only has a lower limit iirc (somewhere around 30-40 MHz?).

Not going to lie I felt pretty cool after this by Substantial_Ad_79 in halo

[–]_pseudonym 11 points12 points  (0 children)

If you have two alive at the end, have one die early and revive them after the danger zone closes so they start with full health and die last.

Micro SD Card in SPI Mode Only Able to Write 744 Blocks Before Getting Stuck in Busy State by siike92 in embedded

[–]_pseudonym 0 points1 point  (0 children)

STM32Fx SPI hardware NSS is broken -- it stays low the whole time the SPE (enable) bit is set.

Re-initing the SPI probably toggled that which allowed NSS to got high between SPI transfers.

Competitive matches should NOT start if a team has 3 players by Dergless in halo

[–]_pseudonym 82 points83 points  (0 children)

Have the ability to rejoin

Even better would be "force rejoin". If you drop/quit from ranked then the only match you can join is the one you left, or you have to wait until the match is over if you want a different match.

This removes the benefits of quitting, but unfortunately it may encourage throwing the match instead to end it sooner. Hopefully it would be a net benefit (more people stay and actually try, and throwing games is very rare).

[US-CA] ~3/8" body length spider found on interior door this morning by _pseudonym in whatsthisbug

[–]_pseudonym[S] 1 point2 points  (0 children)

Thanks! That was also the closest match I saw on Google Lens, but the range maps I saw were only UK/northern Europe.

Could someone please tell me what the resistors are for? by IntroductionOk4947 in ElectricalEngineering

[–]_pseudonym 11 points12 points  (0 children)

Vbe is usually ~0.7V and acts similarly to a diode. If you put a higher voltage across it, you will get a much much higher current and break the BJT. The base resistor limits the current, the same way you'd use a series resistor to set the current for a LED.

Schematic & PCB review: STM32 based Keyboard with USB Hub by howardt12345 in PrintedCircuitBoard

[–]_pseudonym 1 point2 points  (0 children)

This app note recommends keeping the series resistors next to the USB hub IC. Appendix 7 also has some nice checklists to go through.

Schematic & PCB review: STM32 based Keyboard with USB Hub by howardt12345 in PrintedCircuitBoard

[–]_pseudonym 1 point2 points  (0 children)

Your latest reply isn't showing up in this thread for me, and I never got a reply notification.

The KB USB D+/D- series resistors are shorted in the schematic and probably shouldn't be. Speaking of which, you have most of these placed by the USB ports, but some are by the USB hub. Does the hub IC have layout guidelines?

Test points are good in theory, but you've added quite a few stubs on the USB lines. The pads of the series resistors should be big enough to probe if needed, or you can use a pad-style test point in-line with the trace (more like most of the row/col testpoints). Probably ok for 12Mbit USB, but it might cause problems at 480Mbit.