Skip to main content

Questions tagged [mbed]

mbed is an operating system and hardware abstraction layer for microcontrollers, developed by ARM. A large number of development boards are supported.

0 votes
1 answer
73 views

Why are GPIO Expander Registers Being Rewritten?

I'm using an LPC1768 microcontroller (mbed) and 4 GPIO expanders (MCP23017). I am trying to write to the expanders to enable the pull up resistors and some other functions, but am getting strange ...
Nate.Olson's user avatar
0 votes
0 answers
207 views

Arduino Mbed bootloader on nrf52840

I use a PCB that I designed on which is mounted the E73-2G4M08S1C from Ebyte (nrf52840). I flashed the Arduino Mbed bootloader with SWD and a J-Link (J-Flash) probe with no problem. My computer then ...
Nicolas Colsoul's user avatar
2 votes
0 answers
202 views

Using CAN bus on a NucleoH743 with Mbed

CAN bus is not working on my project. We are using a Nucleoh743 (STM32h743) programming it with mbed (Mbed OS 6.13) I have made sure the bus is properly made, with the correct termination resistors, ...
Diego Garcia-soto's user avatar
1 vote
1 answer
864 views

Why does my ADC -> TIM -> DMA driver work for a bit, then freeze up, then continue working again?

This is difficult to describe, but basically my DMA ADC stream will give me correct readings for lets say 10 seconds, then gets "locked up" / outputs static values that do not change (when ...
scottc11's user avatar
  • 433
0 votes
1 answer
134 views

Current calculation dependant on Mbed PWM voltage

I'm looking at this question in a design exercise. By simple calculation the voltage is 9V, the impedance of the heater is 3ohms. So the current through R is 3A? OR Do I need to take into account the ...
Dr. Shakamoto's user avatar
0 votes
1 answer
165 views

How to recharge a bootstrap capacitor on an H-bridge with each transistor controlled with a pwm GPIO?

I have built an H-bridge using bootstrap. Each MOSFET is controlled by a PWM output of my µc. Let's say my motor turns clockwise. I set H1 and L2 to a duty cycle α = 0.9, then to recharge H1's cap I ...
toin's user avatar
  • 1
0 votes
1 answer
100 views

Is there a way to reduce the size of an mbed-os project? [closed]

Every time I create a new mbed-os project, (mbed new ...) I end up with a 1GB folder. This seems a tad bit excessive. How can I reuse the mbed-os folder so that ...
Freeman's user avatar
  • 307
0 votes
1 answer
55 views

Steppers will hold position and vibrate when sent xSTP instructions but won't move at all

Edit: setting the Wait time to 0.1 causes it to make music, yay? I've managed to get the steppers to react to xSTP with this code: ...
dragonking3002's user avatar
-1 votes
1 answer
98 views

Help with an Mbed LCP1768 assignment

Could someone help me out and see if my code is correct please and thank you. ...
koko1deep's user avatar
1 vote
1 answer
189 views

TLC59116 will not drive LEDs

Having the hardest time with this TLC59116 LED Driver IC from Texas Instruments. I have done a crazy amount of debugging and still cannot get it to drive a single LED. I have followed all the ...
scottc11's user avatar
  • 433
1 vote
0 answers
724 views

Why would an STM32 not execute its program after upload?

I am attempting to breadboard an STM32F401 using a 64-pin breakout board. I am able to both connect and upload my program successfully (via ST-LINK V2 SWD pins), but once uploaded, the program seizes ...
scottc11's user avatar
  • 433
1 vote
3 answers
282 views

Accessing structures concurrently modified by ISR

I have the the following situation: An STM32L476RG (ARM Cortex M4F @ 80MHz, 1MB Flash, 128kB RAM) parses some string data coming in over UART. The project uses mbed-os. The parsing of the data is done ...
Maximilian Gerhardt's user avatar
1 vote
0 answers
298 views

Huge spikes and sudden offset in accelerometer data (FRDM-K64F & ADXL357)

I'm working with vibration analysis on electric motors (AC). I have a mBed FRDM-K64F with a EVAL-ADXL357 connected to it - mounted onto a motor. The device samples from the FIFO 4000 times per second,...
Mads Gliemann's user avatar
0 votes
1 answer
157 views

Problems with mbed LPC1768 double precision

I have a motion profile generator which calculates a position 1000/sec. During the decelerating portion of the move, the following calculation is used: ...
19172281's user avatar
  • 743
2 votes
1 answer
331 views

Mbed Cortex-m hardfault when sending data via TCP

I have a TCPSocket* object which holds a connection to a client. This object is passed to another object to send data back to the client: ...
19172281's user avatar
  • 743

15 30 50 per page
1
2 3 4 5
9