Git Product home page Git Product logo

chibios-stm32f103-nrf24l01-spi-server-sb's Introduction

STM32F103-example-code

This is my example code for the STM32F103 using the RTOS ChibiOS.

Based on https://github.com/wendlers/libemb/tree/master/libnrf24l01, https://github.com/wendlers/libemb/tree/master/tests/nrf-server-sb and https://github.com/omriiluz/libnrf24l01p

requirements

  • Chibios 2.5.0+ (or a recent development snapshot)
  • arm toolchain (e.g. arm-none-eabi from summon-arm)

features

  • background blinker thread(not worked yet :)
  • The server configures the nRF24l01 into Shockburst mode.
  • nRF24l01 send a payload to a client.

usage

  • edit the Makefile and point "CHIBIOS = ../../chibios" to your ChibiOS folder
  • make
  • connect the STM32F103 with TTL/RS232 adapter, PA9(TX) and PA10(RX) are routed to USART1 38400-8-N-1.
  • connect nRF24l01 to portB 12-15 pins (http://gpio.kaltpost.de/wp-content/uploads/2012/02/stm32vl_nrf24l01.png).
  • flash the STM32F103
  • use your favorite terminal programm to connect to the Serial Port 38400-8n1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.