Skip to content

GSoC 2021: pysimCoder integration with NuttX

Michal Lenc edited this page Jun 23, 2021 · 13 revisions

NuttX Support for Rapid Control Applications Development with pysimCoder

This page contains information about project NuttX Support for Rapid Control Applications Development with pysimCoder applied by Michal Lenc for 2021 Google Summer of Code under The Apache Foundation. The mentors of this project are Roberto Bucher, Pavel Píša and Brennan Ashton.

Project description

Main goal of the project is to integrate and test pysimCoder support for various kinds of drivers supported by NuttX RTOS. The main target platform is iMXRT1060 MCU, but some other platforms (STM32 or RISC-V MCUs) can also be considered for testing and demonstration. The list of planned implementations includes:

  • SocketCAN support
  • incremental encoder application demonstration with iMXRT MCU
  • digital/analog converter and additional block for a test sensor
  • multiple channel PWM block (might require further implementation to NuttX driver)
  • current sensing support
  • and more

List of commits to pysimCoder and NuttX

This list contains contributions to pysimCoder and NuttX project during GSoC period

Meetings

This section contains informations about weekly meetings with project mentors starting the first week of the coding period (meetings before the oficial start of GsoC are not mentioned here). Problems to be discussed on the meeting should also be mentioned here prior to the meeting,

Meeting 01 – 10. 6. 2021

  • presented application for DC motor control with Nucleo F446RE
  • discussed ideas about implementing PSD controller block and anti windup block
  • discussed the process of implementating NuttX sensors drivers to pysimCoder
  • decision to store information about progress and meetings in pysimCoder wiki

Meeting 02 - 24. 6. 2021

  • present contributions since last meeting (DHT sensor, DAC block, PWM multichannel block and PWM driver for iMXRT)
  • discuss iMXRT PWM driver structure (submodules x outputs in submodule)
  • discuss current sensing implementation (NuttX supports some current sensors like ina219 or ina3221, is there a need for some generic driver?)

Clone this wiki locally