Skip to main content
Visitor II
May 31, 2024
Question

MCSDK and USART

  • May 31, 2024
  • 0 replies
  • 578 views

Hello, I have following problem:

I generated a project using MC Workbench (6.3) and everything works with Motor Pilot (1.2.9). For debugging I would like to have a serial output over the same USART as the motor pilot. For start just print "Hello World!" every second inside the main loop.

printf: does not work

HAL_UART_Transmit: works sometime for 1-2 messages

HAL_UART_Transmit_DMA: does not work.

Is  there a simple way to send custom (maybe through MCP)?

Best regards