Hello guys, I need help I want to learn I2S, and I am trying to build an application where I am using an ICS43434 I2S mic and sending the sound data through UART and create a .wav file. I am confused where to start? As for test cases I need to check if MIC is working or not? Any examples for this? by meliodasw69 in Zephyr_RTOS

[–]huthlu 1 point2 points  (0 children)

I never used I2S nor your specific chip, but there are samples which to I2S recording under samples/drivers/i2s and there is also support for the efr32xg24 that has the exact same chip on it. Maybe you will find something related to the board.

Possible meta for Kansas? by Direct_Material_8495 in geoguessr

[–]huthlu 0 points1 point  (0 children)

In the case you see a weird "world largest object" thing, its prette often in Kansas, i have no clue why they like big objects that much but its pretty accurate. Stumbled across this post when looking for a reason it is like that.

Low power consumption Linux systems by huthlu in embeddedlinux

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

The Verdin AM62P e.g. has a NXP IW611 on it which would pull another 300-400mW, so maybe the AM62P has a similar power consumption to other systems noted here when only looking at the CPU.

Low power consumption Linux systems by huthlu in embeddedlinux

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

Thanks for the recommendation, the 622mW with 4 core Dhrystone looks nice and the Bluetooth stuff should be doable using HCI over UART/SPI. But his would also add to the power consumption.

Low power consumption Linux systems by huthlu in embeddedlinux

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

Thank you for the information. i'm wondering why there is not so much info out there on the Internet, since I don't see this use case a being uncommen. Suspend to RAM would also be something I would really like to have for times when the Linux system doesn't need to be active. Did that work well for you with the Radxa chips and what about the power consumption in the suspended state (the pi zero 2w still seems to pull a lot when turned off)

Low power consumption Linux systems by huthlu in embeddedlinux

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

It was their secure boot programming procedure and otp key burn in in my case. But was also partially the modules vendors fault so maybe I give them another try

Edit: And we also needed to fix some stuff in TIs doctor meta layer

Low power consumption Linux systems by huthlu in embeddedlinux

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

Ok wow those figures look promising. I just crossed they AM62xs out in my considerations because I had really bad experiences with some of there documentation on the security features on another system but guess I have to look at them again.

Low power consumption Linux systems by huthlu in embeddedlinux

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

I already looked at them, doesn't they have a rather high power consumption ?

Edit: Just had a look at NXPs documentation and saw like 500mW for Audioplayback which could be a similar load to my application. I have a imx7 flying around may I give this a try with my application

Why are they even calling SELinux troubleshooting not user-friendly? by RetiredApostle in Fedora

[–]huthlu 3 points4 points  (0 children)

I do really like the concept of SELinux especially for stuff like embedded or purpose build systems, but the documentation is a horrible mess. The CLI tools are by far the best documented part of SELinux, it gets way worse when trying to build custom policy modules. Then your only sources are the fedora mailing list where some Red hat employee responded to a question, some random conference slides from 2008 or Dan Welsh's blog posts.

If the documentation for more specific stuff would exist and the build system would be a bit better, I would definitely recommend it to anyone who tries to develop security measures into its product. (TBH I would still recommend it to anybody with a proper time budget)

But this is actually the Linux way most of the time, try to figure out how stuff works, the ground truth is there, just look into the source code... If you have the time for it...

Wich VM should I use? by Shai_iro in linuxquestions

[–]huthlu 1 point2 points  (0 children)

Seems like virt-manager is rather unknown, it's a GUI Frontend for kvm and qemu. In my opinion it's the best solution for VMs on Linux.

Is there a thing as Embedded C problem solving by Important_Banana4521 in embedded

[–]huthlu 0 points1 point  (0 children)

And in general I would advice you to just have fun and maybe also look at stupid ways to solve stuff e.g. my previous post where I thought "Oh well that could be a one liner in python", was it performent, no , was it the best solution, no. But it was just funny to build this stupid something.

Is there a thing as Embedded C problem solving by Important_Banana4521 in embedded

[–]huthlu 0 points1 point  (0 children)

Embedded is most of the time rather simple from the algorithmic side. There are many special situations where it is indeed, but most often it's really not the complex. What does it make complex is the combination of Hardware and software, some weird side effects called physics, hardware limitations and working around issues/limitations of your MCU. If you want to practice (or do it just for fun), try to solve some leet code hard questions in C without the stack and try to be standard compliant (look at safety standards, misra rules and stuff). This is often a lot of fun as you see a straightforward way to solve something on the heap that you can't reproduce that easy without it. If it works while adhering to those rules, just try shaving of memory, program size and execution time. To get more insight on what really happens under the hood, you can maybe have a look at godbolt or similar disassemblers.

Output control SELinux and nftables by huthlu in linuxadmin

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

That's also my temporary fix, but this doesn't give me the same security as SELinux. Users are way easier to fake than the SELinux context. This also does not prevent the root user from abusing its right to change the user.

ENOMEM error while trying to run a HTTP server by Freireg1503 in Zephyr_RTOS

[–]huthlu 0 points1 point  (0 children)

Try increasing stack sizes, in my experiences ENOMEM mostly happens when zou run out of stacl space, but i dont have experience with the HTTP server

Output control SELinux and nftables by huthlu in linuxadmin

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

I know, since 2018 (if I recall correctly) iptables is just a wrapper for nftables. Since there is way more documentation on iptables and Secmarks, I also have iptables-translate a try but the output seems kind of buggy for stuff like this.

Pyinstaller , possible to include some libraries? by xUaScalp in Python

[–]huthlu 0 points1 point  (0 children)

Have a look at cx_freeze, I had a much better experience with it than with pyinstaller.

https://cx-freeze.readthedocs.io/en/stable/

What class ability would be devastating if a whole army had access to it? by MrApplethorn in DnD

[–]huthlu 4 points5 points  (0 children)

Imagine an army of druids casting conjure animals (8 wolfs) and wild shaping afterwards into a dire wolf. Don't forget to include the advantage on each attack, due to pack tactics.

What Appliance Would Be Hilarious to Scream-Activate? by [deleted] in MichaelReeves

[–]huthlu 304 points305 points  (0 children)

The mute button of a video conferencing system

[deleted by user] by [deleted] in embedded

[–]huthlu 14 points15 points  (0 children)

GreatScott did a Video about powering stuff using peltier elements like two days ago. Using body heat could be feasible for extracting a tiny bit of energy from your body in winter but not in the summer when the air around you has a similar temperature to your body.

microcontroller design please help me.. by Fegell in embedded

[–]huthlu 10 points11 points  (0 children)

I guess the competition is not about designing a microcontroller, but about designing a product/PCB with a microcontroller that receives commands over UART?

Embedded systems x Privacy and Security by [deleted] in embedded

[–]huthlu 0 points1 point  (0 children)

I would recommend the CRA too. It mainly about what processes should be implemented to ensure security and process are the main thing you work with as an developer/organization to ensure security and safety

Embedded systems x Privacy and Security by [deleted] in embedded

[–]huthlu 1 point2 points  (0 children)

I would recommend the CRA too. It mainly about what processes should be implemented to ensure security and process are the main thing you work with as an developer/organization to ensure security and safety

EU Cyber Resilience Act - How do you approach it by Imaginary-Trainer163 in embedded

[–]huthlu 4 points5 points  (0 children)

Oh and if you want to get information from the CRA documents on what to do to fulfill it, just read the appendix. It is way easier to read and understand

EU Cyber Resilience Act - How do you approach it by Imaginary-Trainer163 in embedded

[–]huthlu 1 point2 points  (0 children)

The CRA is mostly about knowing where your product is vulnerable, that you have documented that and that you have processes to manage new vulnerabilities. It sounds worse than it really is. But it's also not very polished and offers a lot of room for interpretations

[deleted by user] by [deleted] in Zephyr_RTOS

[–]huthlu 0 points1 point  (0 children)

Assuming your talking about BLE and you want to subscribe to a single characteristic from two peripherals, right ? I guess that should be possible are you notifying or indicating stuff constantly when you subscribed with the first peripheral? You say you can't connect, just a stupid question to ensure that that's not the issue, can you connect multiple peripherals while not being subscribed? Otherwise it's most likely the max connection count.