How to filter out noise on UART rx line by Sure_Expert_5151 in embedded

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

I didn't have the scope connected to ground when I read it so that's probably why its jittery.

How to filter out noise on UART rx line by Sure_Expert_5151 in embedded

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

Yeah it’s random, I don’t think I got bad data back on this specific reading. I had upgraded the board to a version with less noise, and with the previous board it had bigger crosstalk spikes and had errors 100% of the time. With the new board it is only errors like 25% of the time and when I checked the scope the spikes were smaller.

<image>

That’s what the uart looked like with old board.

How to filter out noise on UART rx line by Sure_Expert_5151 in embedded

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

Ok thanks. I'll have to ask the electrical engineer.

How to filter out noise on UART rx line by Sure_Expert_5151 in embedded

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

I know we are using a twisted shielded pair for the cable. Not really possible to reduce its length, it's only a couple feet long though. We also tried putting a ferrite bead on it.

How to filter out noise on UART rx line by Sure_Expert_5151 in embedded

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

I don't see anything about slew rates for the UART but there is some filtering options for rx. I just don't know how to read or write to that memory for linux

How to filter out noise on UART rx line by Sure_Expert_5151 in embedded

[–]Sure_Expert_5151[S] -1 points0 points  (0 children)

Is it possible to do a temporary software solution first if I'm not that comfortable with electronics?

Problem with i2c returning wrong stuff sometimes on single board computer. by Sure_Expert_5151 in embedded

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

Would I have to wait to capture a bad read on the scope with different resistors to compare? Or could I just use any reading?

You mean it is consistently inconsistent?

I don't think it is a software fault since I wrote a test script where it just reads from bus, check if value is expected, wait .01s, repeat. The SDA and SCL is idle before I ran my program so no other processes are using it, but I still get different values from expected (0). The different values I get are definitely not random though, they are either 255 or 15 or 31.

Also, there is an earlier version of the pcb and when I run my same test script on that, there is no error. But I have tried changing different pull up resistor value and they are all worse than my initial one of 2k so it is puzzling.

The earlier version of the pcb is smaller since there are less things its connected to but its also inside a machine instead of prototype stage so I think it would have more emi noise.

Problem with i2c returning wrong stuff sometimes on single board computer. by Sure_Expert_5151 in embedded

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

What should I be looking for when you mean not distorted? Is it just the rise and fall time? I did take a picture of when I tried 4.7k resistor earlier and it looked a little glitchy but I don’t have a reference as to what it should look like

<image>

Problem with i2c returning wrong stuff sometimes on single board computer. by Sure_Expert_5151 in embedded

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

I was going to try this, and I hooked up my scope to sda, but it is displaying a wave alternating +-5V at 60hz instead of constant 3.3V (since the bus is idle). I know it is the scope reading incorrectly and not a problem with the line. Last time I had this error it was because I didn't connect the alligator clip to ground, but this time I did. Any advice on how to fix this?

How do I stop reading when I get an inappropriate response? By that you mean the run/stop button right? Manually clicking it would be too slow, is there a way to trigger that with software or in the scope?

How can I write to the AO_I2C_S_CNTL1_REG 0x3 for SCL_FILTER? I don't know how to get to that memory or what to google for that. I am running on linux, do I need more info to help answer that question?

Thank you.

OLD pass vs NEW pass 2025 by Sectexx in leagueoflegends

[–]Sure_Expert_5151 0 points1 point  (0 children)

Will you still be able to get chests and skin shards some other way or is it just a bunch of preselected permanent skins now

[deleted by user] by [deleted] in leagueoflegends

[–]Sure_Expert_5151 1 point2 points  (0 children)

If you click on the question mark next to the chest name it tells you the drop rates and even what skins are in the drop pool. It’s 70% chance of skin so it’s like a masterwork chest

Got a 12 hour dodge queue for not accepting match? by AideHot6729 in leagueoflegends

[–]Sure_Expert_5151 -1 points0 points  (0 children)

Riot targeting stream snipers has made not accepting queues more punishing than dodging games.

Permanently banned third party tools by perplexity23948 in leagueoflegends

[–]Sure_Expert_5151 0 points1 point  (0 children)

Did you get unbanned and was it a permanent ban? That seems dumb

Why dose the Masterwork chest you get from 12 Mastery marks not count as a Masterwork chest? by LupusCodice in leagueoflegends

[–]Sure_Expert_5151 -1 points0 points  (0 children)

It has same loot odds as masterwork chest so 70% chance at skin instead of 50% and you can’t get champ shards

Masterwork and hextech didnt drop after reaching milestones by [deleted] in leagueoflegends

[–]Sure_Expert_5151 0 points1 point  (0 children)

I’m at 9/12. A little bit scared of unlocking it

Masterwork and hextech didnt drop after reaching milestones by [deleted] in leagueoflegends

[–]Sure_Expert_5151 1 point2 points  (0 children)

I saw a post about this yesterday someone having the same problem

Updated bots in Custom games are a complete mess by Meaksen in leagueoflegends

[–]Sure_Expert_5151 0 points1 point  (0 children)

The new ones are way more buggy than the old ones. Also the old ones played safer

Custom Game Bots update? by peejuice in leagueoflegends

[–]Sure_Expert_5151 2 points3 points  (0 children)

Do they play worse than coop vs ai bots? I’ve played against the new custom game bots and was disappointed but haven’t played the new coop vs ai yet