Forums
Determining the index of a value in a struct
![](https://d23s79tivgl8me.cloudfront.net/user/profilepictures/140379.jpg)
This is based on some questions I posed (and you all answered) before. Suppose I have declared NUM_SETTINGS to be equal to 3. Let's also assume I've defined FRED...
I'm just trying to get a feel for things here. I'm a hardware design engineer by trade. I'm familiar with the concepts of formal verification with regard to designing...
HardFault during erasing Flash in debug mode
![](https://www.embeddedrelated.com/new/images/defaultavatar.jpg)
I've written a custom bootloader using C to run on ARM cortex_M4 but I had a HardFault exception when using the debug mode. This exception appears just in debug...
Interfacing MSP430 FRAUNCHPAD with MAX30102
![](https://www.embeddedrelated.com/new/images/defaultavatar.jpg)
Hi all,
I'm trying to interface the MAXIM MAX30102 with the MSP430FR5739 using I2C protocol. I'm using pull-up resistors (4.7 KOhm) on SDA and SCL lines, using...
Buffer size for SPI communication using MC20XS4200 in daisy chain configuration.
![](https://www.embeddedrelated.com/new/images/defaultavatar.jpg)
Dear All Hello,
I am using the MC20XS4200 to control 6 outputs motor and bulb loads. The PCB board contains 3 MC20XS4200, each MC20XS4200 has 2 channels.
The MC20XS4200...
Variable Array Sizes when Instantiating?
![](https://d23s79tivgl8me.cloudfront.net/user/profilepictures/140379.jpg)
As always, I'm really sorry to bug you with a simple question (simple to you, not to me) -- I'll try to make this the last one for a while. I'm using an Arduino...
On the one hand I feel guilty and embarrassed about asking all of my simplistic questions, but I always end up learning so much here.This relates to my previous...
Initializing a struct in a union (or not, as the case might be)
![](https://d23s79tivgl8me.cloudfront.net/user/profilepictures/140379.jpg)
I'm afraid I've reached the limit of what I can wrap my brain around with regards to initializing a union -- any help here will be very gratefully received.As you...
What is the use of left and right alignment in ADC registers?
![](https://www.embeddedrelated.com/new/images/defaultavatar.jpg)
Hi,I am using the STM32F4 Discovery Board. I was going through the ADC peripheral and I saw this:Right and Left alignment of 12-bit data. What is meant by this?I...
Please login (on the right) if you already have an account on this platform.
Otherwise, please use this form to register (free) an join one of the largest online community for Electrical/Embedded/DSP/FPGA/ML engineers: