Menu

Home Log in to Edit

Kamikaze Dominic Fandrey

High Speed Karlsruhe open automotive code initiative

Screenshot thumbnail
Debugging session in Keil µVision 4
Screenshot thumbnail
F-106 Steering Wheel

High Speed Karlsruhe (HSK) is the Formula Student Automotive Engineering (FSAE) team of the University of Applied Sciences Karlsruhe. "University of Applied Sciences" is German English for polytechnic university.

You can follow us:

The Mission

Since the summer of 2010, the FSAE team High Speed Karlsruhe uses Infineon's XC878 to power its electronics.

The XC878 is an 8052 compatible 8-bit µC. Our dedication is to 8-bit real time applications, guaranteed by the powerful peripherals of the XC878.

This project aims to publish those portions of our code, which may be of use to a wider audience.

Table of Contents

Sponsors

Electronics sponsors of High Speed Karlsruhe:

Infineon Technologies ARM Germany/Keil Vector Informatik
Infineon Technologies ARM Germany/Keil Vector Informatik
Rutronik LeitOn PCBs Samtec CadSoft
Rutronik LeitOn PCBs Samtec CadSoft

Docs

Libs (developer) Libs (user) Stub
Online HTML HTML HTML
PDF PDF PDF PDF

Also check the [TODO] page for open tasks and unresolved issues!

Features

  • Libs
    • hsk_adc: AD conversion
    • hsk_can: CAN bus communication
    • hsk_ex: External interrupt management
    • hsk_filter: Convenient drop in software filters
    • hsk_flash: Non-blocking internal flash storage
    • hsk_icm7228: Driver for the ICM7228 LED driver
    • hsk_io: Conveniently abstract logical on/off from the physical representation
    • hsk_pwm: Pulse Width Modulation
    • hsk_pwc: Pulse Width Measurement
    • hsk_ssc: Synchronized Serial Communication
    • hsk_wdt: Watchdog Timer (not safe for productive use)

Contact

Please send all inquiries directly to kamikaze@bsdforen.de.

I'd like to know from you:

  • Where is the documentation lacking/incomplete/erroneous?
  • Bugs?
  • Hate?
  • Praise?

Getting Started

For now the recommended use is to fetch the code via Mercurial. There's a good tutorial at http://hginit.com/.

Currently there are two repositories:

  • hsk_libs: Code libraries
  • hsk_stub: Project stub for projects using the libraries

You need an XC878 simulator like provided by Keil µVision or an actual µC to dig into this.

The attached documentation has all the information to set up a working environment.

CAN Bus

The library now comes with a script dbc2c.awk that can generate C-style headers from Vector DBC files.


Related

Wiki: TODO

Discussion

  • Anonymous

    Anonymous - 2018-01-11
    Post awaiting moderation.
    • Anonymous

      Anonymous - 2018-01-23
      Post awaiting moderation.
    • Anonymous

      Anonymous - 2018-03-07
      Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel