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.
Embedded Engineer Interview Questions
6,289 embedded engineer interview questions shared by candidates
What did you find most challenging about your XXX Project (one of the projects I had stated on my C.V.) ?
circuit analysis
Write a C program to print a statement without using semicolon.
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?
Run me through your resume
What is resistor , capacitor, filters, all about basics of electronics?
Viewing 141 - 150 interview questions