Current mode update
This commit updates owntech modules to implement the current mode. ## Update of HRTIM module - Deleting unnecessary LL function generated by cubeMX, and replacing with clear functions. - The adc for leg2 was triggered previously by the timing unit's CMP4, this commit replace it with CMP3 as CMP4 is used for current mode. ## Update of DAC module - Adding more trigger for sawtooth generation. - Adding "External and Internal" mode for DAC output mode. - Update dac_stm32_function_update_reset and dac_stm32_function_update_step to delete the lines disabling/enabling the DACs. ## Update of Comparator module - Comparator 1 is now linked to DAC3 and comparator 3 to DAC1. ## Update of Hardware Configuration module - Adding essential functions to set the current mode. - Adding comparator_configuration files, adding changes to cmake and Kconfig in hardware configuration to include the comparator drivers.
parent
e9aad098
No related branches found
No related tags found
Showing
- zephyr/modules/owntech_comparator_driver/zephyr/src/comparator_driver.c 5 additions, 4 deletions.../owntech_comparator_driver/zephyr/src/comparator_driver.c
- zephyr/modules/owntech_dac_driver/zephyr/public_api/dac.h 10 additions, 5 deletionszephyr/modules/owntech_dac_driver/zephyr/public_api/dac.h
- zephyr/modules/owntech_dac_driver/zephyr/src/stm32_dac_driver.c 41 additions, 33 deletions.../modules/owntech_dac_driver/zephyr/src/stm32_dac_driver.c
- zephyr/modules/owntech_hardware_configuration/zephyr/CMakeLists.txt 1 addition, 0 deletions...ules/owntech_hardware_configuration/zephyr/CMakeLists.txt
- zephyr/modules/owntech_hardware_configuration/zephyr/Kconfig 1 addition, 0 deletionszephyr/modules/owntech_hardware_configuration/zephyr/Kconfig
- zephyr/modules/owntech_hardware_configuration/zephyr/public_api/HardwareConfiguration.cpp 32 additions, 7 deletions...configuration/zephyr/public_api/HardwareConfiguration.cpp
- zephyr/modules/owntech_hardware_configuration/zephyr/public_api/HardwareConfiguration.h 5 additions, 3 deletions...e_configuration/zephyr/public_api/HardwareConfiguration.h
- zephyr/modules/owntech_hardware_configuration/zephyr/src/comparator_configuration.cpp 33 additions, 0 deletions...are_configuration/zephyr/src/comparator_configuration.cpp
- zephyr/modules/owntech_hardware_configuration/zephyr/src/comparator_configuration.h 32 additions, 0 deletions...dware_configuration/zephyr/src/comparator_configuration.h
- zephyr/modules/owntech_hardware_configuration/zephyr/src/dac_configuration.cpp 161 additions, 37 deletions...h_hardware_configuration/zephyr/src/dac_configuration.cpp
- zephyr/modules/owntech_hardware_configuration/zephyr/src/dac_configuration.h 13 additions, 4 deletions...ech_hardware_configuration/zephyr/src/dac_configuration.h
- zephyr/modules/owntech_hardware_configuration/zephyr/src/hrtim_configuration.cpp 15 additions, 2 deletions...hardware_configuration/zephyr/src/hrtim_configuration.cpp
- zephyr/modules/owntech_hardware_configuration/zephyr/src/hrtim_configuration.h 26 additions, 2 deletions...h_hardware_configuration/zephyr/src/hrtim_configuration.h
- zephyr/modules/owntech_hrtim_driver/zephyr/public_api/hrtim.h 1 addition, 1 deletion...yr/modules/owntech_hrtim_driver/zephyr/public_api/hrtim.h
- zephyr/modules/owntech_hrtim_driver/zephyr/public_api/leg.h 19 additions, 0 deletionszephyr/modules/owntech_hrtim_driver/zephyr/public_api/leg.h
- zephyr/modules/owntech_hrtim_driver/zephyr/src/current_mode/hrtim_current_mode.c 375 additions, 208 deletions...hrtim_driver/zephyr/src/current_mode/hrtim_current_mode.c
- zephyr/modules/owntech_hrtim_driver/zephyr/src/current_mode/hrtim_current_mode.h 65 additions, 5 deletions...hrtim_driver/zephyr/src/current_mode/hrtim_current_mode.h
- zephyr/modules/owntech_hrtim_driver/zephyr/src/hrtim_common.c 7 additions, 8 deletions...yr/modules/owntech_hrtim_driver/zephyr/src/hrtim_common.c
- zephyr/modules/owntech_hrtim_driver/zephyr/src/voltage_mode/owntech_leg_driver.cpp 25 additions, 1 deletion...tim_driver/zephyr/src/voltage_mode/owntech_leg_driver.cpp
Loading
Please register or sign in to comment