Interrupts: can be lost?

Started by pozz in comp.arch.embedded7 months ago 63 replies

https://www.safetty.net/download/pont_pttes_2001.pdf Page 13 Note carefully what this means! There is a common misconception among the...

https://www.safetty.net/download/pont_pttes_2001.pdf Page 13 Note carefully what this means! There is a common misconception among the developers of embedded applications that interrupt events will never be lost. This simply is not true. If you have multiple sources of interrupts that may appear at ?random? time intervals, interrupt responses can be missed: indeed, where there are


comp.lang.embedded blocked on Google Groups!

Started by Rick C in comp.arch.embedded7 months ago 12 replies

Banned Content Warning The group you are attempting to view (comp.lang.forth) has been identified as containing spam, malware, or other...

Banned Content Warning The group you are attempting to view (comp.lang.forth) has been identified as containing spam, malware, or other malicious content. Content in this group is now limited to view-only mode for those with access. Group owners can request an appeal after they have taken steps to clean up potentially offensive content in the forum. For more information about content policies...


Need Help with CRC16

Started by Miguel Angel Palos M in comp.arch.embedded7 months ago 15 replies

Hi good day; I want to see the possibility that if someone can help me generate a crc calculator from txt files, I have a text file, and the...

Hi good day; I want to see the possibility that if someone can help me generate a crc calculator from txt files, I have a text file, and the result of the crc by which it must be submitted I already have, but I don't know how to get to He actually has several files to do the test, but I couldn't get to those results; Can someone help me?


STM32L412 ADC Input Specs

Started by Rick C in comp.arch.embedded7 months ago 8 replies

Maybe someone can help me out with this. I'm looking at the data sheet for the STM32L412xx trying to find details on the mapping of the input...

Maybe someone can help me out with this. I'm looking at the data sheet for the STM32L412xx trying to find details on the mapping of the input voltage range to the 12 bit code produced. It might appear that the Vref+ and Vref- pins define the exact range, but it seems unusual that it could be equal to the power rails. With Vref+ = 3.3V and Vref- = 0 volts does 0V on the input


Memory Protections

Started by Don Y in comp.arch.embedded7 months ago 9 replies

Conceptually, memory (or a memory region) can be thought of as being readable, writeable or executable -- and any combination of these. ...

Conceptually, memory (or a memory region) can be thought of as being readable, writeable or executable -- and any combination of these. Hardware *may* enforce these protections -- to varying degrees. Usually, you opt to PREVENT some set of these operations (i.e., no write, no read, no execute). In many cases, this acts as an invariant -- "this is data; nothing should be mucking with it ...


My Favorite Editor is the Butterfly, What's Yours?

Started by Rick C in comp.arch.embedded8 months ago 16 replies

https://xkcd.com/378/ -- Rick C. - Get 1,000 miles of free Supercharging - Tesla referral code - https://ts.la/richard11209

https://xkcd.com/378/ -- Rick C. - Get 1,000 miles of free Supercharging - Tesla referral code - https://ts.la/richard11209


Page sizes

Started by Don Y in comp.arch.embedded8 months ago 40 replies

Are there any processors/PMMUs for which the following would be true (nonzero)? (pagesize - 1) & pagesize

Are there any processors/PMMUs for which the following would be true (nonzero)? (pagesize - 1) & pagesize


PID controller: dummy questions

Started by pozz in comp.arch.embedded8 months ago 27 replies

I'm trying to implement a PID controller in C for an embbeded system. This is the first time. I think I haven't fully understand the...

I'm trying to implement a PID controller in C for an embbeded system. This is the first time. I think I haven't fully understand the theory. For the proportional term, we have an output from PID controller that is P = Kp*err Suppose I have a power supply with a variable output voltage. The power supply output is connected to a low-value resistor that dissipates power and transfer...


NXP LPC 2468 interrupt vector checksum?

Started by Tauno Voipio in comp.arch.embedded8 months ago

The NXP LPC 2468 documentation states that, in order to start up, there must be a valid checksum over the interrupt vector in the start of the...

The NXP LPC 2468 documentation states that, in order to start up, there must be a valid checksum over the interrupt vector in the start of the Flash image. The document demands the the checksum over the vector must be zero. There are vague and contradictory statements what is counted as the interrupt vector. In ARM7TDMI documentation the vector is 8 words (32 bytes), but the NXP docu...


Tests in embedded

Started by pozz in comp.arch.embedded9 months ago 7 replies

I'm reading TDD book by Grenning, but I don't know if it is really up-to-date. Do you use unit tests, automatic testing and/or TDD approach...

I'm reading TDD book by Grenning, but I don't know if it is really up-to-date. Do you use unit tests, automatic testing and/or TDD approach in your embedded projects? Which tools do you really use? Writing some tests for isolated units is very simple, they can be manually written with some asserts. When the unit is connected to other units (i.e., uses services from another module or ...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright