Marlin_Firmware/Marlin/src/HAL/HAL_STM32F7
Andy Shaw 624986d423 Ensure ADC conversion is complete before reading (#11336)
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.

See: https://github.com/MarlinFirmware/Marlin/issues/11323
2018-07-26 03:59:19 -05:00
..
EEPROM_Emul Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
EmulatedEeprom.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
endstop_interrupts.h Filter endstops state at all times (#11066) 2018-06-21 20:14:16 -05:00
fastio_STM32F7.h HAL FastIO cleanup and fixes 2018-04-26 00:40:16 -05:00
HAL_Servo_STM32F7.cpp delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index]) 2018-05-28 03:44:32 -05:00
HAL_Servo_STM32F7.h Add support for STM32F7 MCU 2018-01-15 01:13:03 -06:00
HAL_spi_STM32F7.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
HAL_timers_STM32F7.cpp Add memory barrier, optimal interrupt on-off 2018-05-20 02:39:34 -05:00
HAL_timers_STM32F7.h Fix stepper pulse timing 2018-06-12 21:34:24 -05:00
HAL.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
HAL.h Ensure ADC conversion is complete before reading (#11336) 2018-07-26 03:59:19 -05:00
persistent_store_impl.cpp Add STM32F1 support for SD-based EEPROM 2018-07-06 23:45:47 -05:00
pinsDebug.h Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
README.md Clean up trailing whitespace 2018-01-21 17:19:38 -06:00
SanityCheck.h Add sanity checks for EMERGENCY_PARSER 2018-04-24 09:24:26 -05:00
spi_pins.h Define short pin names in fastio for STM32 (#10461) 2018-04-20 14:54:35 -05:00
TMC2660.cpp Replace double with float, optimize calculation 2018-07-04 22:28:56 -05:00
TMC2660.h Fix some spellings 2018-04-02 03:03:37 -05:00
watchdog_STM32F7.cpp Cleanups for STM32F7 2018-01-15 02:46:37 -06:00
watchdog_STM32F7.h Fix some header comments 2018-07-17 19:50:24 -05:00

This HAL is for the STM32F765 board "The Borg" used with STM32Generic Arduino core by danieleff.

Original core is located at:

https://github.com/danieleff/STM32GENERIC

but i have not committed the changes needed for the Borg there yet, so please use:

https://github.com/Spawn32/STM32GENERIC

Unzip it into [Arduino]/hardware folder

Download the latest GNU ARM Embedded Toolchain:

https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads

(The one in Arduino dosen't support STM32F7).

Change compiler.path in platform.txt to point to that you downloaded.

This HAL is in development.

Currently only tested on "The Borg".

You will also need the latest Arduino 1.9.0-beta or newer.

This HAL is a modified version of Chris Barr's Picoprint STM32F4 HAL, so shouldn't be to hard to get it to work on a F4.