Closed Indruino-hieu closed 3 years ago
Hi,
UART7_TX and RX pins are assigned for ADC4 & 5 for Arduino shield. You may revise these settings from the variant.cpp below. https://github.com/ROBOTIS-GIT/OpenCR/blob/master/arduino/opencr_arduino/opencr/variants/OpenCR/variant.cpp#L61
There will be some additional works to be done such as adding TX/RX handlers and creating UARTClass for the serial port in variant.h and uart driver https://github.com/ROBOTIS-GIT/OpenCR/blob/master/arduino/opencr_arduino/opencr/variants/OpenCR/variant.h https://github.com/ROBOTIS-GIT/OpenCR/blob/master/arduino/opencr_arduino/opencr/variants/OpenCR/hw/driver/drv_uart.c
You'll also need to remove ADC configurations for A4 and A5 pins.
Please understand that we do not provide a thorough support on customizing the source code. Thank you.
Hi Will,
Thanks to you reply forme!
I know that, your team do not support customizing the source code. I create this issue to verify UART7 can work when i config disable ADC feature in pin F6 and F7. Please tell me know any bug when i do it!
Thanks you so much!
@Indruino-hieu You might want to utilize the community where many users hang out and there might be other developers who'd be interested in what you are doing. https://community.robotis.us/
Since this is not an issue of the product or the source code, I'll close this thread. Thank you.
Hi Team!
I'm beginer work with opencr board. When i do config UART7 on Opencr board with chip STM32F746ZGTx, it's not received data. It's only transmit data. My source: else if (huart->Instance == UART7) // // UART_NUM_7 { RCC_PeriphCLKInitStruct.PeriphClockSelection = RCC_PERIPHCLK_UART7; RCC_PeriphCLKInitStruct.Uart7ClockSelection = RCC_UART7CLKSOURCE_SYSCLK; HAL_RCCEx_PeriphCLKConfig(&RCC_PeriphCLKInitStruct);
}
Could you help me fix it, thanks so much! Thanks to all.