Skip to content
Snippets Groups Projects
  1. Nov 03, 2022
    • Luiz Fernando Lavado Villa's avatar
      One of the four communication methods uses a DAC for analog signal sharing.... · cf67ed35
      Luiz Fernando Lavado Villa authored and Clément Foucher's avatar Clément Foucher committed
      One of the four communication methods uses a DAC for analog signal sharing. This commit implements a first non-tested version of this feature.
      
      Four files were modified to implement this feature:
      - The low layer dac_configuration.h and .cpp: These files allow access to the dac module and can set any dac to constant value mode. The constant value can also be set.
      - The HardwareConfiguration API: They give access to the low-leve configuration file to the user.
      cf67ed35
  2. Nov 02, 2022
    • Clément Foucher's avatar
      Update method to acquire Zephyr device structures · 7c36237c
      Clément Foucher authored
      This MR updates the code used to acquire Zephyr device structures, in order to get rid of the `device_get_binding()` calls.
      
      This allows to ensure statically (at compile time) that the drivers used by the code are correctly referenced wrt. drivers names in device tree, and to prevent code from using devices that are not enabled in device tree.
      7c36237c
  3. Oct 31, 2022
  4. Oct 06, 2022
    • Luiz Fernando Lavado Villa's avatar
      Patch to control the min-max duty cycle and the frequency of the Hrtim · f1e6ddf4
      Luiz Fernando Lavado Villa authored
      It is necessary to properly control the min and max duty cycle of the hrtim. Our code already does that, but it is not efficient neither does it give the possibility for the user to dynamically set other min/max values. This patch solves that.
      
      It is also necessary to give the user the possibility of setting the frequency of the HRTIM. This patch solves that at the leg driver level and provides the user with an access point.
      
      Both the frequency and the min/max duty cycles are set by default at 200kHz and 0.1/0.9 respectively.
      f1e6ddf4
  5. Oct 04, 2022
  6. Sep 29, 2022
    • Clément Foucher's avatar
      Include readPin function to GPIO API. · 21b5fbbe
      Clément Foucher authored
      21b5fbbe
    • Clément Foucher's avatar
      Define an API for GPIO easy handling. · 74974de7
      Clément Foucher authored
      74974de7
    • Luiz Fernando Lavado Villa's avatar
      This commit is a patch to address the issue of the Twist v1.1.2 board whose... · dce31eb4
      Luiz Fernando Lavado Villa authored
      This commit is a patch to address the issue of the Twist v1.1.2 board whose HRTIMA signals have been inverter in routing.
      
      This commit defines a new hardware version, the TWIST_V_1_1_2.
      This hardware version is then used to set up the control initialization sequence of the power legs, applying the necessary changest to leg 1 whose timer signals have been reversed in routing.
      There is also a correction on the hrtim_init_independent_mode functino that initializes the pwm_phase_shift variable as well as their leg dependent equivalents.
      This initalization is necessary to use the hrtim_interleaved_pwm_update function which uses the phase_shift variable when updating the duty cycle of interleaved buck and boost applicaitons.
      dce31eb4
  7. Sep 28, 2022
  8. Sep 27, 2022
  9. Sep 26, 2022
  10. Sep 19, 2022
  11. Jul 29, 2022
  12. Jul 25, 2022
  13. Jul 21, 2022
  14. Jul 19, 2022
    • Luiz Fernando Lavado Villa's avatar
      The HRTIM still lacks some functions needed for a fine management of the PWM... · 4130ab02
      Luiz Fernando Lavado Villa authored
      The HRTIM still lacks some functions needed for a fine management of the PWM generation. This PR adds several functions. 
      
      Deadtime management
      The deadtime can now be managed separately from the rising and falling edges.
      
      Phase shifting
      The phase of the second leg can now be updated dynamicall
      
      Bug fixes: 
      Readable Independent mode
      The independent mode can now be set as buck or boost instead of true or false, making it more readable.
      
      Extra features: 
      There is now a board version support for the SPIN board
      4130ab02
  15. Jul 13, 2022
  16. Jul 12, 2022
  17. Apr 04, 2022
  18. Mar 30, 2022
  19. Mar 29, 2022
  20. Mar 28, 2022
  21. Mar 25, 2022
  22. Mar 23, 2022
  23. Mar 16, 2022
  24. Mar 08, 2022
  25. Mar 03, 2022
  26. Mar 02, 2022
  27. Feb 25, 2022
Loading