From d4711896cf577da7cb784d218323f1eaa9c80a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sj=C3=B6lund?= <j.sjolund@gmail.com> Date: Wed, 6 Dec 2017 15:11:06 +0100 Subject: [PATCH] Update README.md --- README.md | 58 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index c6bacde..57d265a 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,43 @@ > Board Support Crate for the NUCLEO-F411RE -[NUCLEO-F411RE]: http://www.st.com/en/evaluation-tools/nucleo-f411re.html -## [Documentation](https://docs.rs/f3) +## d7018e - special studies in embedded systems -## [Change log](CHANGELOG.md) +##### Name : Johannes Sjölund +##### Mail : johsjl-1@student.ltu.se +##### Personal number: 8506298978 +##### Nucleo 64 support crate + +## Grading + +3. Implement drivers for the Nucleo 64, stm32f401re/stm32f411re, similar to the f3/bluepill support crates. Most or all of the peripherals should be supported +* GPIO +* UART over USB using the ST-Link v2 +* DMA +* Timers for e.g. + * Microsecond counter + * PWM generation + * Rotary encoder +* SPI +* I^2C + +4. The stm32f4 supports higher clock frequency than the default 16 MHz. Implement a simple way of setting it to the maximum of 84 MHz for the stm32f401re and 100 MHz for the stm32f411re, or any valid lower value (configured using the PLL). + +5. Create a demo using the RTFM core and some external peripheral such as an IMU or Bluetooth device. The demo should show how to use the RTFM core for safe concurrency and demonstrate different peripherals such as GPIO, USART, DMA, SPI etc. + +### Documentation +[F3 Rust support crate](https://github.com/japaric/f3) + +[Blue-pill Rust support crate](https://github.com/japaric/blue-pill/) + +[Nucleo 64 Manual](docs/Nucleo-64-User-manual.pdf) + +[STM32F411 Datasheet](docs/STM32F411_Datasheet.pdf) + +[STM32F411 Reference Manual](docs/STM32F411_Reference_Manual.pdf) + + ## License @@ -24,24 +56,4 @@ Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. -### d7018e - special studies in embedded systems - -#### Grade 3 -Port code from f3 and/or bluepill crates to the F411RE. Example code from these crates are working. - -#### Grade 4 -Implement easy way to change between different peripheral pin configuration. Also, to set clock frequency other than the default 16 MHz (PLL). - -#### Grade 5 -Have the RTFM core use some external peripheral such as an IMU over SPI. Working demo of it. - -### Docs -[Nucleo 64 Manual](docs/Nucleo-64-User-manual.pdf) - -[STM32F411 Datasheet](docs/STM32F411_Datasheet.pdf) - -[STM32F411 Reference Manual](docs/STM32F411_Reference_Manual.pdf) - - -  -- GitLab