Skip to content

Firmware for STM32 with CORE M0+ to use the usarts via i2c

License

Notifications You must be signed in to change notification settings

michieltjampens/i2c_uart_stm32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I2C to USART with STM32C0

Firmware for STM32C0 with CORE M0+ to use the usarts via I²C. Because I wanted a cheaper alternative to the purpose built chips that start at 6€.

Progress

  • Testing with Rev0 hardware
  • Designing rev1, which mainly adds led's for feedback.
  • Firmware.
    • TX via DMA works
    • RX via isr works
    • todo: changing uart settings
  • Writing the code for dcafs to use it, decided to rewrite the I²C part for it.
    • Sending data works.
    • todo: processing received data
    • todo: changing settings

Info

Hardware

  • Starting with the STM32C011F4U6TR.
    • Program memory: 16kB (26% used)
    • Ram memory: 6kB (37% used, mainly for 512Byte circular buffers)
    • I²C: 1x FM+
    • USART x2
    • Costs about 1,2€ ex vat

Firmware

  • Bare metal C code (so no LL or HAL).
  • I2C to uart is handled by DMA.

About

Firmware for STM32 with CORE M0+ to use the usarts via i2c

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published