Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWM fan and FreeRTOS CAN changed #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ariatgz
Copy link

@ariatgz ariatgz commented Nov 16, 2024

This version of the project includes the following updates:

PWM Fan Code Integration: The fan control logic has been added to the temp_sensing file.
FreeRTOS Updates: Includes modifications related to the CAN functionalities.

@ariatgz
Copy link
Author

ariatgz commented Nov 21, 2024

@EmsWong

const osThreadAttr_t temp_sense_attributes = {
.name = "temp_sense",
.stack_size = 128 * 4,
.priority = (osPriority_t) osPriorityHigh,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to normal priority in ioc

@@ -97,18 +100,32 @@ int main(void)
MX_CAN3_Init();
MX_TIM3_Init();
MX_TIM4_Init();
MX_CAN2_Init();
MX_TIM2_Init();
/* USER CODE BEGIN 2 */
HAL_ADC_Start_DMA(&hadc3, adc_data, NUM_MUX);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look into how this DMA grabs values from the ADC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants