nuttx/arch/arm/src/stm32l4
2020-09-09 14:09:43 -04:00
..
hardware stm32l4 ADC: on 47x/48x parts, the ACSR register needs to be configured for ADC inputs to work 2020-06-16 01:00:45 +01:00
chip.h
Kconfig Fix copy/paste typo in various Kconfigs 2020-04-14 22:42:21 +01:00
Make.defs stm32l4: add support for booting into DFU mode 2020-06-26 09:59:40 -03:00
README.txt
stm32l4_1wire.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
stm32l4_1wire.h
stm32l4_adc.c
stm32l4_adc.h
stm32l4_allocateheap.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4_can.c stm32l4: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header 2020-06-29 09:05:44 -03:00
stm32l4_can.h
stm32l4_comp.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_comp.h
stm32l4_dac.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_dac.h
stm32l4_dbgmcu.h
stm32l4_dfsdm.c
stm32l4_dfsdm.h
stm32l4_dfumode.c stm32l4 dfumode: move initialization point of bootloader jump instruction to correct place 2020-06-26 09:59:40 -03:00
stm32l4_dfumode.h stm32l4: add support for booting into DFU mode 2020-06-26 09:59:40 -03:00
stm32l4_dma.c
stm32l4_dma.h
stm32l4_dumpgpio.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_exti_alarm.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_exti_comp.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_exti_gpio.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_exti_pwr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_exti_pwr.h
stm32l4_exti_wakeup.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_exti.h
stm32l4_firewall.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_firewall.h
stm32l4_flash.c arch/arm/stm32, stm32f7, stm32l4: Rename up_waste to stm32_waste 2020-05-03 16:42:19 +01:00
stm32l4_flash.h Check the return of nxsem_wait_uninterruptible() (#724) 2020-04-04 14:57:22 -06:00
stm32l4_freerun.c
stm32l4_freerun.h
stm32l4_fsmc.h
stm32l4_gpio.c style fixes 2020-06-16 01:00:45 +01:00
stm32l4_gpio.h
stm32l4_hsi48.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_hsi48.h
stm32l4_i2c.c style fixes 2020-06-17 13:17:38 -03:00
stm32l4_i2c.h
stm32l4_idle.c arch/: Trivial typos, mostly "their is" to "there is" 2020-09-09 14:09:43 -04:00
stm32l4_irq.c Run all .c and .h modified by this PR through nxstyle 2020-05-01 16:55:33 -03:00
stm32l4_iwdg.c Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
stm32l4_lcd.h
stm32l4_lowputc.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4_lowputc.h
stm32l4_lptim.c stm32l4_lptim: nxstyle fixes 2020-04-24 14:47:07 -03:00
stm32l4_lptim.h stm32l4_lptim: nxstyle fix 2020-04-24 14:47:07 -03:00
stm32l4_lse.c Run all .c and .h files modified by this PR through nxstyle. 2020-05-03 16:42:19 +01:00
stm32l4_lsi.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_mpuinit.c
stm32l4_mpuinit.h
stm32l4_oneshot_lowerhalf.c
stm32l4_oneshot.c stm32l4 oneshot: style fix 2020-06-25 11:04:14 +01:00
stm32l4_oneshot.h
stm32l4_otgfs.h
stm32l4_otgfsdev.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4_otgfshost.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
stm32l4_pm.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pminitialize.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4_pmlpr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pmsleep.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pmstandby.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pmstop.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pwm.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pwm.h
stm32l4_pwr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_pwr.h STM32L4 PWR/RCC: nxstyle 2020-04-24 12:34:17 -06:00
stm32l4_qencoder.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_qencoder.h
stm32l4_qspi.c sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
stm32l4_qspi.h
stm32l4_rcc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_rcc.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_rng.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
stm32l4_rtc_lowerhalf.c
stm32l4_rtc.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_rtc.h
stm32l4_sai.c sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
stm32l4_sai.h
stm32l4_sdmmc.c sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
stm32l4_sdmmc.h
stm32l4_serial.c stm32l4:serial fix coding standard violation 2020-08-06 01:03:34 -05:00
stm32l4_spi.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
stm32l4_spi.h
stm32l4_start.c Fix typos 2020-05-14 10:49:44 -06:00
stm32l4_start.h
stm32l4_tickless.c
stm32l4_tim_lowerhalf.c
stm32l4_tim.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_tim.h
stm32l4_timerisr.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4_uart.h
stm32l4_uid.c
stm32l4_uid.h
stm32l4_usbdev.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4_usbdev.h Fix nxstyle stm32l4 (#726) 2020-04-04 14:41:34 -06:00
stm32l4_usbhost_trace.c Fix nxstyle to stm32l4 files (#721) 2020-04-04 09:50:33 -06:00
stm32l4_usbhost.h Fix nxstyle to stm32l4 files (#721) 2020-04-04 09:50:33 -06:00
stm32l4_userspace.c
stm32l4_userspace.h Fix nxstyle to stm32l4 files (#721) 2020-04-04 09:50:33 -06:00
stm32l4_waste.c Run all .c and .h files modified by this PR through nxstyle. 2020-05-03 16:42:19 +01:00
stm32l4_waste.h Run all .c and .h files modified by this PR through nxstyle. 2020-05-03 16:42:19 +01:00
stm32l4_wdg.h Fix nxstyle to stm32l4 files (#721) 2020-04-04 09:50:33 -06:00
stm32l4.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
stm32l4x3xx_rcc.c Fix nxstyle to stm32l4 files (#721) 2020-04-04 09:50:33 -06:00
stm32l4x5xx_rcc.c Fix nxstyle to stm32l4 files (#721) 2020-04-04 09:50:33 -06:00
stm32l4x6xx_dma.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4x6xx_rcc.c stm32l4 RCC: configure flash wait states early, otherwise execution is corrupted when clock is increased before that 2020-06-28 13:25:05 -03:00
stm32l4xrxx_dma.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
stm32l4xrxx_rcc.c Fix typos in comments and documentation (#750) 2020-04-08 06:45:35 -06:00

This is a port of NuttX to the STM32L4 Family

Used development boards are the Nucleo L476RG, Nucleo L496ZG,
Nucleo L452RE, Nucleo L432KC, STM32L4VG Discovery and
Motorola MDK.

Most code is copied and adapted from the STM32 and STM32F7 ports.

The various supported STM32L4 families are:

-----------------------------------------------------------------
| NuttX config      | Manual | Chips
|
| Not supported     | RM0392 | STM32L471xx
|
| STM32L4_STM32L4X1 | RM0394 | Subset of STM32L4_STM32L4X3 [*]
|
| STM32L4_STM32L4X2 | RM0394 | Subset of STM32L4_STM32L4X3 [*]
|
| STM32L4_STM32L4X3 | RM0394 | STM32L43xxx/44xxx/45xxx/46xxx
|
| STM32L4_STM32L4X5 | RM0351 | STM32L475xx (was RM0395 in past)
|
| STM32L4_STM32L4X6 | RM0351 | STM32L476xx, STM32L486xx,
|                              STM32L496xx, STM32L4A6xx
|
| STM32L4_STM32L4XR | RM0432 | STM32L4Rxxx, STM32L4Sxxx (STM32L4+)
------------------------------------------------------------------

[*]: Please avoid depending on CONFIG_STM32L4_STM32L4X1 and
     CONFIG_STM32L4_STM32L4X2 as the MCUs are of the same subfamily
     as CONFIG_STM32L4_STM32L4X3.

TODO list
---------

Peripherals with implementation in STM32 port:

IRQs     : OK
GPIO     : OK
EXTI     : OK
HSI      : OK
HSE      : OK
PLL      : Works @ 80 MHz
MSI      : OK
LSE      : OK
RCC      : All registers defined, peripherals enabled, basic clock working
SYSCTL   : All registers defined
USART    : Working in normal mode (no DMA, to be tested, code is written)
DMA      : works; at least tested with QSPI
SRAM2    : OK; can be included in MM region or left separate for special app
         : purposes
SPI      : OK, tested (including DMA)
I2C      : works
RTC      : works
QSPI     : works in polling, interrupt, DMA, and also memory-mapped modes
CAN      : OK, tested
OTGFS    : dev implemented, tested, outstanding issue with CDCACM
         : (ACM_SET_LINE_CODING, but otherwise works); host implemented,
         : only build smoke-tested (i.e. builds, but no functional testing
         : yet)
Timers   : Implemented, with PWM oneshot and freerun, tickless OS support.
         : Limited testing (focused on tickless OS so far), PWM and QE tested OK.
PM       : TODO, PWR registers defined
FSMC     : TODO
AES      : TODO
RNG      : works
CRC      : TODO (configurable polynomial)
WWDG     : TODO
IWDG     : works
SDMMC    : works
ADC      : works
DAC      : works
DMA2D    : TODO (Chrom-Art Accelerator for image manipulation)

New peripherals with implementation to be written from scratch.
These are Low Priority TODO items, unless someone requests or contributes
it.

FIREWALL : Code written, to be tested, requires support from ldscript
TSC      : TODO (Touch Screen Controller)
SWP      : TODO (Single wire protocol master, to connect with NFC enabled
         : SIM cards)
LPUART   : TODO (Low power UART working with LSE at low baud rates)
LPTIM    : Code written, to be tested (Low power TIMER)
OPAMP    : TODO (Analog operational amplifier)
COMP     : There is some code (Analog comparators)
DFSDM    : There is some code (Digital Filter for Sigma-Delta Modulators)
LCD      : TODO (Segment LCD controller)
SAIPLL   : works (PLL For Digital Audio interfaces, and other things)
SAI      : There is some code (Digital Audio interfaces, I2S, SPDIF, etc)
HASH     : TODO (SHA-1, SHA-224, SHA-256, HMAC)
DCMI     : TODO (Digital Camera interfaces)

New peripherals only in STM32L4+:

DMAMUX1    : TODO
DSI        : TODO
GFXMMU     : TODO
LTDC       : TODO
OCTOSPI    : TODO
OCTOSPIIOM : TODO