2014-08-09 02:18 PM
The demo program no longer works on my board. I flashed the audio demo from the STM32F4DISCOVERY board firmware package. After playing with it for a while, I flashed the board with the Demonstration hex file from the STM32F4DISCOVERY board firmware package. Now the accelerometer doesn't work. The blink part of the demo works and when I push the button, my computer recognizes the board as a HID device, but tilting and moving the board does nothing. Where do I find the original hex file?
#stm32f4discovery2014-08-28 09:04 AM
2014-08-28 09:32 AM
Is there anybody out there?
No, clearly there's no one here. It's a forum, the lack of an answer, is an answer in of itself. Should have saved a copy of the original content, not sure I have one to hand. I have an new STM32F401C-DISCO, but not sure that helps you. STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\Binary STM32F4-Discovery_Demonstration_V1.0.0.hex
2014-09-06 04:35 PM
2014-09-18 09:31 AM
Hi fugarino.samuel,
What's the revision of the STM32F4 Discovery board ? MB997B or MB997C ?Regards,Heisenberg.2015-03-17 05:52 PM
I haven't plugged my STM32F4 board in for a while, today I did and the accelerometer piece of the demo, which was working previously, also doesn't work any more. Did you get any further to the bottom of this .. a year ago?
I found and re-flashed the demo, no change there. I have the M8997C revision. I can see when I press the user button that the device is recognised as a Joystick, however the LEDs never illuminate when I tilt the board as they used to. I have both the STLink and USB cables plugged in, have no particular reason to suspect the connections, the USB interface itself appears to come up, be recognised and enumerate.Just wondered if you got any further with this.2015-03-18 05:38 AM
I found and re-flashed the demo, no change there. I have the M8997C revision.
Heisenberg's question for the board revicion implicates some hardware changes. I guess the the demo is broken (in the new revision), but has a much-less-than-cube priority. I have some older F4 discoveries around, but honestly never tried this demo. If the board seems to work otherwise, I wouldn't worry too much about this, except you need it perhaps as starting point for your application. A diff over the schematics and the BOM might help here.
2015-03-18 10:45 AM
If a simple voltage test with a scope or multimeter suggests it's power correctly, your next step is to review what the software is actually doing, and use a debugger if necessary.
2015-05-06 12:23 PM
From the User Manual regarding MB997 B & C:
---------------------------------------------Motion sensor (ST MEMS LIS302DL or LIS3DSH)Two different versions of motion sensor (U5 in schematic) are available on the boarddepending the PCB version. The LIS302DL is present on board MB997B (PCB revision B)and the LIS3DSH is present on board MB997C (PCB rev C).The LIS302DL or LIS3DSH are both an ultra compact low-power three-axis linearaccelerometer.It includes a sensing element and an IC interface able to provide the measured accelerationto the external world through I2C/SPI serial interface.The LIS302DL has dynamically user selectable full scales of +-2g/+-8g and it is capable ofmeasuring acceleration with an output rate of 100Hz to 400Hz.The LIS3DSH has ±2g/±4g/±6g/±8g/±16g dynamically selectable full-scale and it is capableof measuring acceleration with an output data rate of 3.125 Hz to 1.6 kHz.The STM32F4 controls this motion sensor through the SPI interface.-------------------------------------------There are obviously code differences between the two. Only the ''B'' code is available on the ST website demo download. The ''C'' discovery boards must come with the correct code flashed for the LIS3DSH MEMS sensor.