Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
@FenTrac do not mess with arduino and uarts (U(S)ARTS a far to slow for USB, and do not think that OP wants to build another VCOM device). Most modern uC (AVR micros are not counted as modern) have USB hardware built in. Te best example is the STM32 family of microcontrollers. The only problem...
@Easyrider83 - it does not matter. You just add some unnecessary code for the initial assignment (I assume the global scope of the variable). In your example the variable will be placed into the .bss (and zeroed of course) segment and then assigned somewhere in the code. If you you initialize it...
Hi Dora,
The thread is about copying (not mentioning "ïn the background" ) :). Of course in this case as you have probably more than one buffer it is better just to change the pointers. My post was about the general copy operation.
Hi,
Unfortunately you have chosen the worst method of moving memory. Why?
1. DMA is much slower than the core memory copy. There are several reasons - limited speed of the DMA accessible busses, potential conflicts with the core ( core has the priority over DMA), conflicts with another DMA...
Only timer interrupt. Do not read keys in "normal" external interrupts.
No you need to count every generated machine code instruction - but if you have to do so - that means in 99% circumstances that your code is badly written. It is needed only in some very time sensitive situations (eg...
Hi, Thank you
The only one problem with this circuit. The MOSFET is on the low side, and the GND will flow. I need it stable as I use ADCs in my project. I was looking for something which is on the high side of the circuit.
Hi.
I took the idea from https://www.maximintegrated.com/en/app-notes/index.mvp/id/636 (figure 4)
I have found on internet another sollution as well (two FETS)
I was considering ideal diode ICs - but they are more expensive than my STM32 uC :)
Hi Guys, I work now on a dual power design: USB and mains. I need to protect USB power line against a reverse current flow, but the simplest methods (diode, Schottky) have quite high voltage drop. Is it a good idea to use P-channel MOSFET? Will be the voltage drop lower? Or maybe some other...
Hi Guys,
One day I needed to have 4 ADC & 3 DAC channels for my Raspberry Pi project. I have found nothing on the market so I have decided to build my own one (and even have kickstarted it https://kck.st/2kCToFY).
It is fully software configurable and every port can be used as ADC, DAC or GPIO...
Actually and unfortunately your code is not doing what you think:
I. 0x0x40090120 will not compile at all.
1. This structure is 4 bytes long (not 16)
2. (unsigned int *)(&x_temp) = (unsigned int *)0x0x40090120 ; -will bot compile at all
2.1 (unsigned int *)0x20000120 = (unsigned int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.