Skip to content
Snippets Groups Projects
Commit f64c74b2 authored by Ayoub Farah Hassan's avatar Ayoub Farah Hassan Committed by Luiz Fernando Lavado Villa
Browse files

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
1 merge request!51Current mode update
Showing
with 867 additions and 320 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment