How to use peripherals in both core?
Hello,
I am working on Nucleo-h745ziq board. I am enable the UASART3 ,the intialization in done in cortex m7 and I try to use in both core,but only core 7 USART3 is working in core m4 USART3 is not get worked ,the code is as follows
core m7 code:
HAL_UART_Transmit(&huart3, "CORE7",6, 100);
HAL_Delay(3000);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_1, GPIO_PIN_SET);
HAL_Delay(3000);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_1, GPIO_PIN_RESET);
HAL_Delay(3000);
core M4 code:
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_0, GPIO_PIN_SET);
HAL_Delay(3000);
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_0, GPIO_PIN_RESET);
HAL_Delay(3000);
HAL_UART_Transmit(&huart3, "CORE4",6, 100);
HAL_Delay(3000);
I want to use peripherals in both core also I want to transfer data from one core to another how I can do it there is some example code is available?