It was a C programming question on comparing characters of a string.
Embedded Software Developer Interview Questions
4,748 embedded software developer interview questions shared by candidates
different bet microprocessor and micro-controller whats rtos writ a c programm to check if an array is a mirrored one write isr function
Macros
difference between microprocessor & microcontroller
Describe a time where you worked with a team and had to overcome a difficult situation.
Problem Statement: Given a byte array in network byte order, write an algorithm to find the starting bit position of the first occurrence of the 32-bit, big-endian pattern (0xFE6B2840) in the byte array. The pattern may or may not be byte aligned in the input. The function htonl() and ntohl() are provided in the C library to convert the endian order from host to network order, and from network to host order respectively: uint32_t htonl(uint32_t hostlong); uint32_t ntohl(uint32_t netlong); Note: network byte order is big-endian, host byte order is little-endian. Signature of function to implement: int findPattern(const uint32_t numBytes, const uint8_t data[]) Description of function parameters: Input parameters: uint32_t numBytes - The number of bytes in the array named 'data' uint8_t data[] - The byte stream of data to search Return: -1: if the given pattern (0xFE6B2840) is not found. -2: if the inputData is Null or the size of the 'data' is insufficient to find the pattern (0xFE6B2840). Otherwise, the pattern is found. Return the starting bit position of the pattern (0xFE6B2840). Example 1 - Byte Aligned: Inputs: numBytes: 8 data: { 0x00, 0x01, 0xFE, 0x6B, 0x28, 0x40, 0x02, 0x03 } Starting position is here at bit 16 Returns: 16 Example 2 - Non-byte Aligned: Image 2: This is the same as example 1, left-shifted by 1 bit! Inputs: numBytes: 8 data: { 0x00, 0x03, 0xFC, 0xD6, 0x50, 0x80, 0x04, 0x06 } Starting position is here at bit 15 (least significant bit of the second byte of the input) Returns: 15
The technical process focuses mainly on all of C. Also on Micro-controllers, micro-controllers' interfacing and communication, and very marginally on automotive protocols and standards. The English process level is upper-intermediate by British standards. . The HR and the managerial level interviews focus primarily on your past qualifications (both education and professional), your professional potential, and your motivation to commit to the company. your past qualification questions can go as far back as high school :), so be prepared to present yourself and your qualifications professionally.
Tell me about your self?
All about my projects general discussion no programming question.
Have you done any VHDL design or Board Design?
Viewing 181 - 190 interview questions