Search results

  1. 2

    Malloc and it's use with MCUs

    Yes, but KrisBlueNZ, what if we are careful not to malloc more than 4 blocks at a time? Take the previous example, leaving lots of leeway, 4 blocks of 25 bytes each with a heap size of 10K!!! I don't see how this scenario can cause fragmentation??? even if the 4 blocks were 1K each but never...
  2. 2

    Malloc and it's use with MCUs

    yes but lets say I set my heap size to a much larger amount then the sum of blocks A,B,C,D and E. For example, suppose that I allocate a max heap size of 10,000 bytes. Now, in reference to your example I would free block B and D. If I then malloc another block of 50 bytes called E as you say...
  3. 2

    Malloc and it's use with MCUs

    Hello everyone, I have a project which needs to work in real time and can't afford to hang or undergo any access violation issues during its execution. I typically use malloc/free extensively!!! Then, I stumbled on the first few paragraphs of the following article: (see around the middle...
  4. 2

    Definitions for op amps?

    thanks all for your help.
  5. 2

    Definitions for op amps?

    okay... is this because of: (1 + rf/ra) can't be equal to 1 ??? thanks BobK I appreciate your help
  6. 2

    Definitions for op amps?

    Hi Bob, okay, but what I meant to ask is.... is there any values of resistors that would satisfy that circuit for that I/o ramp without modifying or adding anything to the circuit. and if not, then why? we seem to be able to do it with ramp output of 2 to 3 Vdc why not 2 to 4 Vdc?
  7. 2

    Definitions for op amps?

    Hi LaPlace, I would like to ask you a question... if I may! In reference to another attachment in this post, I know it is possible to make an input ramp to the non-inverting side from 4 to 6Vdc and an output ramp of 2 to 3Vdc.... with r1 = 7500 and r2 = 2500 ohms and with ra and rf being 10K...
  8. 2

    Definitions for op amps?

    Hello, I have done some op amp calculations, but I am a little confused about equation definitions. In reference to attachment, can someone please confirm the following definitions in respect to gains: Inverting configuration: G1 = -rf/ra Non-Inverting configuration: G1 = -rf/ra G2=...
  9. 2

    What is the best CMRR definition:

    yeah that's me being lazy with the equation editor !!!! :D I will correct that in my personal notes!!! thanks
  10. 2

    What is the best CMRR definition:

    Hi (*Steve*), I dunno... :D when we do the anti-log on the left, it usually cancels the log on the right.... bof ... that's the way I learned it ... :p The rest seems clear now.... it all works with 20 log and I get the same results with 10 log as long as we square the values...
  11. 2

    What is the best CMRR definition:

    Hello (*Steve*), I have three questions! Q#1) I could be wrong, but isn't the CMRR: 1,000,000,000 See math at attachment "CMRR1" The math checks out when (0.014142136^2) = Acm = 0.0002 and so CMRR = (200,000/0.0002) = 1,000,000,000 right? :( Q#2) So when do we use 10 log(Ad/Acm)^2...
  12. 2

    What is the best CMRR definition:

    cool! thanks for this insight!
  13. 2

    What is the best CMRR definition:

    Hello (*Steve*), I go line by line if I may! bof!!! I definitely could be wrong but I read everywhere that: CMRR = (Ad/Acm) and that: CMR = 20 Log(10)(Ad/Acm) where if Ad/Acm = 2/1, then CMR = 20 Log(10)(2) CMR = 6.02 dB therefore: shouldn't it be: So, if it was 6db, it would be 2/1...
  14. 2

    can someone please tell me what these are

    The one on the far left seems to be a power supply for a laptop or some sort of if in module!
  15. 2

    What is the best CMRR definition:

    Hello, I have seen many definitions in many articles throughout the Internet... here are some of the definitions I found: and so on.... But my question is, for example, for a given differential op amp circuit, if we have a CMMR of: CMRR = Ad./Acm CMRR = 2/1 Can we say that in this case...
  16. 2

    Quick question about equal input voltages for op amp?

    Hi Duke37, I apologize again for bringing up an old post... But just was wondering something about the op amp's offset based on what you said above! So if I adjust that offset by those two adjustment pins so that my output won't fly off to the rail voltage when I set my two op amp inputs to...
  17. 2

    Quick op amp question?

    Measure vout/Vin... :cool: other than that ... I dunno!
  18. 2

    Quick op amp question?

    One more thing guys.... I figured after all this math I would be able to calculate an op amp's gain in a box. For example, jus by external measurements with our VOM, can we figure out an amplifier's gain when the op amp is wired up with some unknown resistor values ra, rf, r1 and r2 (op amp...
  19. 2

    Quick op amp question?

    Thanks guys 24v
Top