Implement a circular buffer in C
Embedded Software Developer Interview Questions
4,381 embedded software developer interview questions shared by candidates
What is Counters.
There is an 8 bit counter that is incremented by hardware every tick call it counter8 And there is an interupt handler that is called every tick. I should write the code for the interrupt handler to implement a 16 bit counter.
Given are two functions. One function writes to the shared memory using the function write_to_mem() One function reads from shared memory using the function read_from_mem() We also have a 8 bit variable sem. First function can set/clear only the first bit of sem (msb), indicating it just wrote to the mem. Second function can set/clear only the last bit of sem (lsb) indicating it finished reading from mem. Both functions can read both bits. The two functions might run on different processor with different frequencies. Processor 1 runs a code that call the first function in en endless loop Processor 2 runs a code that call the second function in en endless loop. I need to write the code in each processor such that the functions are synchronized.
circuit analysis
Pretty standard HR question. Desired pay, education, experience, etc...
How the BSS segment works ? How do the process have different segments for intialised and uninitialised global and static variable?
Program on bitwise operations.
more of the questions were about C programming?
What is resistor , capacitor, filters, all about basics of electronics?
Viewing 101 - 110 interview questions