John Ford (@jmford94)
This would be my solution. It's the best of both worlds. You don't waste time polling, and you can deal with multiple button presses. And having a lot of interrupts...
You don't say what kind of machine you're using, but if it's a 32 bit machine, you can operate directly on the 32 bits using a set of masks to clear (with AND),...
There are a lot of things to consider. Most are architecture specific, and you don't say what processors, chipsets, etc. you are using.Are you sure it's the transfers...
Here's a TI reference design. It might be overkill, but you might be able to scale it back. Just came through my email this morning.Johnhttps://www.ti.com/tool/TIDA-010210Here's...
I drove from Tucson to Phoenix and back twice over the weekend. Lots of really empty space alongside the road, which gave me time to think more about this.I think...
I don't know that re-schooling is necessary here. Anyone with 20 years experience in C and PLM will be valuable to someone developing embedded systems. I agree...
The ATTiny202 has a piece of memory that the debugger/programmer writes into that is not affected by a chiperase command. That seems like a nice place to store...
Very cool idea. I have never seen this before! I'll have to look into the EFM8BB10. I noticed the 8051 architecture is alive and well in this bargain-basement...
This is a good idea. I'm fleshing out the protocol now, but it's affected by the physical implementation. Agree that 150 slaves on the bus is a bad idea.Latency...
Yeah, I worry about the electrical performance of SPI with that many daisy-chained items. But maybe it's better to daisy chain than multi-drop that many slaves....
Hi all. I am designing a system for controlling a multitude (150!) of
thermoelectric cooler units. Each unit's current magnitude and
direction must be individually...
No, we were not able to use it, because we needed a 5 megabit per second uart and didn't have enough clock cycles to mux the inputs in. We ended up with enough...
Hi Max. I'm John Ford, Principal Engineer at Steward Observatory, University of Arizona.https://www.linkedin.com/in/john-ford-bb034121/
Hi Max. I think most are aware of the concept, but I suspect that almost nobody actually does it. There's an editorial in the July issue of the Communications...
A couple of things you can look at without instruments. I agree with Al that an oscilloscope is one of those things that make the impossible simple...Check the...
Hi Max.There are a few reasons that I see for it. One, erasing and writing the eeprom takes a long time (in microcontroller time) and many operations, and if the...
I see 2 separate questions here. Variables declared as volatile are not cached in registers between operations, so that if something writes to it outside the current...
There are a number of modbus slave libraries for Arduino on github. I haven't used them, but I'd start there...
The link you shared is for a benchmark copying data through the Linux kernel into userspace. You will get many times more performance if you are working with the...
Many if not all linkers will link in all the objects that are in a single file. You can split up the .obj into separate files and put them in a library to be more...
The important thing is the energy balance, so that the system can be designed to take in enough to charge the battery or other storage you have.I agree with Matthew's...
I would say that it is. The 2 states are LED_LO and LED_HIGH. Not a very efficient use of CPU cycles, but it gets the job done.
I think in general you should stick to signed or unsigned int, and let the compiler figure it out. If you get to the end of the project and need a few more bytes...
I would get rid of the const in the argument, since you are overwriting stuff in the structure anyway. This would make it more obvious what the intent of the...
The problem with just zeroing it is that sometimes the integral term provides a lot of the command signal to a process, and if you zero it, it can take a long time...
Yes, to avoid a transient, the integral needs to be initialized to the value that when used in the PID calculation will give the current output value, ignoring the...
I think that you can program up to 4 hardware registers it recognizes in the IIC hardware. See this app note.http://www.ti.com/lit/ug/slau425f/slau425f.pdf
1) Before jumping into coding, thinking, reading/writing, and understanding documents like requirements documents and design documents (however brief. No need...
Another idea is to not use an interrupt, but poll the buffer in some place in your program, i.e. if you have an idle loop, use the dead time to update the LCD. You...
Hi StephaneAlthough I have been building embedded systems for 30 years, I have only recently started developing my own FPGA designs, so I think that I still have...
There are timers in the MSP430 that you can configure to create the time delay needed. Then you can trigger the timer off the seat switch. Then if the timer...
I agree with this suggestion for Lattice parts. But be aware that they will not allow you to register for support if you have a gmail or university email. I'm...
Assuming you're not trolling us, here's a reply :)I suggest you try different editors, and find one that suits you. Consider other editors that you must use...
MartinThompson's post sums it up pretty well, but I have a perspective that I want to share. I am working with really big (OK. There are bigger, now!) parts...
Do you need the 3.3 V linear regulator in there for some reason, or can you go straight to 3.3 from 12? The 2576 is available in a 3.3 V and an adjustable version.Anyway,...
Use this form to contact jmford94
Before you can contact a member of the *Related Sites:
- You must be logged in (register here)
- You must confirm you email address