EmbLogic's Blog

Category Archives: Uncategorized

Tricky C interview questions

1.Give a fastest way to multiply any number by 9. Answer: #include #include void main() { int n; printf(“Enter a number:”); scanf(“%d”,&n); printf(“%d”, (n<<3)+n); getch(); } 2. How to measure the size of any variable without “sizeof” operator? Answer: #define … Continue reading

Posted in Uncategorized | Leave a comment

What are the different types of C pointers?

NULL Pointer Dangling Pointer Generic Pointers Wild Pointer Complex Pointers Near Pointer Far Pointer Huge Pointers NULL Pointer : Literal meaning of NULL pointer is a pointer which is pointing to nothing. NULL pointer points the base address of segment. … Continue reading

Posted in Uncategorized | Leave a comment

Pointers Questions

1) What will be the output of following program ? #include int main() { char *str=”IncludeHelp”; printf(“%c\n”,*&*str); return 0; } Correct Answer I & is a reference operator, * is de-reference operator, We can use these operators any number of … Continue reading

Posted in Uncategorized | Leave a comment

2G, 3G, 4G, 4G LTE, 5G

2G, 3G, 4G, 4G LTE, 5G – What are They? Quite simply, the “G” stands for Generation, as in the next generation of wireless technologies. Each generation is supposedly faster, more secure and more reliable. The reliability factor is the … Continue reading

Posted in Uncategorized | Leave a comment

A simple command line tool(TCL)

Tcl is a very simple programming language. If you have programmed before, you can learn enough to write interesting Tcl programs within a few hours. This page provides a quick overview of the main features of Tcl. After reading this … Continue reading

Posted in Uncategorized | Leave a comment

Embedded Wireless with Lora

Microchip’s Long-Range Low-Power End Node Solution With the growing Internet of Things, Microchip has a LoRa® technology wireless solution to address increasing demands on end-devices for long range connectivity, low-power for battery operation, and low infrastructure cost for volume deployment. … Continue reading

Posted in Uncategorized | Leave a comment

LoRaWAN Technology

LoRaWAN™ is a Low Power Wide Area Network (LPWAN) specification intended for wireless battery operated Things in a regional, national or global network. LoRaWAN targets key requirements of Internet of Things such as secure bi-directional communication, mobility and localization services. … Continue reading

Posted in Uncategorized | Leave a comment

GSM – Overview

What is GSM? If you are in Europe or Asia and using a mobile phone, then most probably you are using GSM technology in your mobile phone. GSM stands for Global System for Mobile Communication. It is a digital cellular … Continue reading

Posted in Uncategorized | Leave a comment

GSM Module Interfacing and commands

GSM Module Interfacing GSM module is used in many communication devices which are based on GSM (Global System for Mobile Communications) technology. It is used to interact with GSM network using a computer. GSM module only understands AT commands, and … Continue reading

Posted in Uncategorized | Leave a comment

U-Boot’s bring-up

Even though unnecessary in most cases, it’s sometimes desired to modify U-Boot’s own bring-up process, in particular for initializing custom hardware during early stages. This section explains the basics of this part of U-Boot. U-Boot is one of the first … Continue reading

Posted in Uncategorized | Leave a comment

U-boot

U-Boot is an open source Universal Boot Loader that is frequently used in the Linux community. Xilinx provides a Git tree located at https://github.com/Xilinx/u-boot-xlnx which includes U-Boot to run on Xilinx boards. The Xilinx U-Boot project is based on the … Continue reading

Posted in Uncategorized | Leave a comment

Linux and the Device Tree

Linux and the Device Tree ————————- The Linux usage model for device tree data Author: Grant Likely This article describes how Linux uses the device tree. An overview of the device tree data format can be found on the device … Continue reading

Posted in Uncategorized | Leave a comment

RICS and CICS

The simplest way to examine the advantages and disadvantages of RISC architecture is by contrasting it with it’s predecessor: CISC (Complex Instruction Set Computers) architecture Multiplying Two Numbers in Memory On the right is a diagram representing the storage scheme … Continue reading

Posted in Uncategorized | Leave a comment

spi device driver

In the user space Once you will have this set you can boot your sunxi device and you will have in your dev in /dev/spidevn.0 Transfer size is limited to 64 bytes on sun4i and 128 bytes on sun6i. You … Continue reading

Posted in Uncategorized | Leave a comment

.Fex Guide

Fex Guide Contents [hide] 1 FEX Description 2 Port Definitions 3 application 3.1 [product] 4 system configuration 4.1 [target] 4.2 [card_burn_para] 4.3 [card_boot] 4.4 [card_boot0_para] 4.5 [card_boot2_para] 4.6 [twi_para] 4.7 [uart_para] 4.8 [jtag_para] 4.9 [system] 4.10 [gpio_para] 4.11 [gpio_init] 5 … Continue reading

Posted in Uncategorized | Leave a comment