Giter VIP home page Giter VIP logo

stm32f746-canbus-display's Introduction

Ecumaster black race dash

can_display_irl
Application running on STM32F746G.

touchgfx_small
TouchGFX.



This project is built on the stm32f746g-discovery board. It was intended to be an diy solution to a race dash.

IDE used: STM32CubeIDE 1.3.0. Gfx tool: TouchGFX 4.13.0 Designer.

Hardware requirements

  1. You need an can bus tranceiver, I have used the SN65HVD230.

Case

  1. 3d printable case is in the making.

Getting started developing

  1. Clone project.
  2. Install STM32CubeIDE 1.3.0 and TouchGFX 4.13.0.
  3. Open EcumasterBlackCanWithTouchGFX.IOC.
  4. Click Additional Software.
  5. Make sure STMicroelectronics.X-CUBE-TOUCHGFX 4.13.0 is installed and Application is set to TouchGFX generator.

Good to know when coding

  • Project uses C and C++.
  • To work on GFX open: project root/TouchGFX/EcumasterBlackCanWithTouchGFX.touchgfx with TouchGFX.
  • Text resources in TouchGFX are set up as wildcard buffers.
  • Mapping of data to screen buffers are done in MainView::updateVal(uint8_t* newValue) which you find in : project explorer/TouchGFX/gui/src/main_screen/MainView.cpp. If you are planning on extending the struct you need to do a search. Data is sent from main through a FreeRTOS queue. And handled in TouchGFX part of the code.
  • Canbus input data is handled in project root/Core/Src/main.c in function void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan).
  • Do not be afraid to experiment. Have fun!

Ecumaster emu black settings

Image bellow shows the can settings used for the display to work with ecumaster.
ecumaster_can_settings

stm32f746-canbus-display's People

Contributors

robinpipirs avatar

Watchers

James Cloos avatar

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.