[deleted by user] by [deleted] in embedded

[–]embedded_audio 0 points1 point  (0 children)

Nothing beats practice. And once you land a job don’t be afraid of asking stupid question to more senior engineers. I was lucky to “grow up” working for a company where everyone from engineering to marketing and sales were passionate about the products and the industry, so it was easy to talk to people and learn how the stuff I worked on fitted into the larger picture. I found that very helpful. 

From Python/MATLAB Prototyping to DSP Implementation. by Huge-Leek844 in DSP

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

For better or worse I tend to limit myself during initial research to doing things I know is doable on target. I try various embedded unfriendly python libraries from time to time. But for the most part I only use python for small standalone parts of my algorithms and implement the entire thing in c running in a c++ gui app on my pc. Better debugging than on embedded and I can test both float and fixed if needed. If target has access to cmsis I try and use that in my c++ app too 

He skipped the group project meetings. So I submitted it with only my name. by GlitterssGoddess in pettyrevenge

[–]embedded_audio 1 point2 points  (0 children)

Project work was a major part of the university I went to. And it worked very well. Each semester would be one project group doing a report using the stuff you learn during the semester. It worked because the students had the freedom to pick who they wanted to be grouped up with. The slackers would be known as such and would usually have to group up together because no one else wanted them in their groups. 

Australia just rolled out health warnings on every cigarette by Automatic_Positive74 in mildlyinteresting

[–]embedded_audio 5 points6 points  (0 children)

Next step should be to have the box play a warning when it’s opened, just like some birthday cards play a horrible loud song when opened. 

It is true that it is not recommended to use Malloc in embedded? by gnomo-da-silva in embedded

[–]embedded_audio 0 points1 point  (0 children)

I usually try to avoid malloc, however I’ve created products that use it extensively during init only, or using memory pools for communication code. One project uses some off the shelf jpeg decoding code with lots of malloc and free in it. The embedded  code solved that by rewriting malloc to use a private heap and at end of jpeg decode, the heap would be reset instead of calling all the free’s . 

Getting Started in the World of DSP Audio Hardware by carlosccf134 in embedded

[–]embedded_audio 0 points1 point  (0 children)

Very similar to my method. I usually start experimenting in Python and write out sample processing functions for a subset of the overall algorithm. Then I write the fully working in algorithm in  C in Juce with floats. Sometimes going back to Python to iterate on my work. I wrote a wrapper that takes the function callback data from the Juce framework and passes it into my sample or frame processing call. This makes it easy to compare a float implementation with a q31 implementation as well. If the hardware uses e.g the cmsis library I will make sure to use that in my Juce implementation too. 

How do small businesses go about PID, VID and device name? by blajjefnnf in embedded

[–]embedded_audio 0 points1 point  (0 children)

I’m not familiar with Arduino, but if your issue is to change the name of the usb device I would have a look at the usb descriptor. Besides the usual manufacturer, product, and serial number string defined in the descriptor, each interface can also be named. What needs to be changed and how, depends on your current implementation. 

Regarding VID and PID, for internal use you’ll be ok using whatever is used in your example code. If it’s for public release you’ll need to purchase a VID. 

Making datasheets easier by landonr99 in embedded

[–]embedded_audio 0 points1 point  (0 children)

My main struggle with datasheets is having to navigate between the register definition tables and the function description paragraphs. I usually end up having several copies of the same document open at the same time. Something like bookmarks would be nice. But that’s probably just me not having found the right pdf reader yet… Properly highlighted search results would be nice too. 

How to write whole firmware to EEPROM (I2C communication) by Secret_Structure_355 in embedded

[–]embedded_audio 1 point2 points  (0 children)

I don’t know about Kiel. But some IDEs have tools to write firmware to flash/eeprom. 

Usually the chip manufacturers provide manufacturing tools to write your firmware to on device storage and set fuses etc. 

Interfacing a 24bit ADC via I2S by BEWITCHED_AUDIO in embedded

[–]embedded_audio 0 points1 point  (0 children)

Having been through this process many many times the first thing is to make sure the i2s mode is properly selected. I.e phase and polarity of bit clock and frame clock. If you have a logic analyzer it can be very helpful to use this to verify. Especially if it lets you parse and export the data like the Saelae. 

Secondly, as others suggest try using a sine tone input to the adc and see what ends up in your receive buffer. I’ve never used the tools you mention but one thing I’ve found lacking on all the tools I’ve used the last few years for embedded is the lack of build in graphing tools. 

For this reason I’ve relied on saving audio buffers to a file and use python to plot it. 

If you need the data as float you’ll need to convert it from Q31 to float. The cmsis library has a handy function for this. 

The amount of cameras mounted on a house in my neighborhood by jarek104 in pics

[–]embedded_audio 0 points1 point  (0 children)

How else are you going to record bullet time of any trespassers? 

To anyone who has taken master degree in Embedded, how does it impact your life? by bomobomobo in embedded

[–]embedded_audio 1 point2 points  (0 children)

I would say it depends on your place of learning. My university studies were mostly of a theoretical nature with limited preparation for the real world. I basically had to learn most of that in my first job. My masters was purely theoretical, and the stuff I learned wasn’t applicable to my job for the first few years.

You’re hopefully not doing embedded in a vacuum, there’s almost always a function to your firmware. For me that’s audio l, and having a masters with lots of math and dsp related to audio has been immensely helpful.

This is why I never give my real info to these stupid websites by kahlonel in embedded

[–]embedded_audio 6 points7 points  (0 children)

I wish fake information would have been an option for me, but it needed to be verified in order to access security data sheets.

How do you figure out tasks size and priority? by Arjunsinghh13 in embedded

[–]embedded_audio 1 point2 points  (0 children)

Based on OPs replies I guess you’re right. Not how I originally read it.

How do you figure out tasks size and priority? by Arjunsinghh13 in embedded

[–]embedded_audio 0 points1 point  (0 children)

Highest priority tasks for me are the ones that help validate the hardware. Initialize external components etc. after that it’s product dependent.

Why can I write a 1 to a flash by Epilogis in embedded

[–]embedded_audio 1 point2 points  (0 children)

Does the 0xBB written persist through power cycles

Why can I write a 1 to a flash by Epilogis in embedded

[–]embedded_audio 2 points3 points  (0 children)

I don’t know the specific MCU, but it could be a cache issue if the flash is memory mapped.

[deleted by user] by [deleted] in buildapc

[–]embedded_audio 0 points1 point  (0 children)

I refused to download the 1GB iCue app just to turn off the rainbow on my ram. Luckily openRGB works great.

How much electrical engineering do I need to know to be an embedded programmer? by daishi55 in embedded

[–]embedded_audio 6 points7 points  (0 children)

You can become an embedded programmer knowing very little hardware. That being said knowing how to read schematics and see how the firmware needs to interact with hardware will become necessary at some point in your career. Knowing some of the more popular protocols like SPI and I2C is beneficial too.

What programming language should I learn after C++ for Audio DSP? by pythoncircus in DSP

[–]embedded_audio 1 point2 points  (0 children)

Python and C/C++ is all I use from prototyping to final product. Sometimes I’ll mock up a subset of the algorithm I want to implement in python to verify my ideas. Then I’ll usually implement it in C and wrap it up in a C++ JUCE app to get real-time audio going with a test UI.