I am relatively new to using the STM32 family and I am trying to use the USART on a STM32C011J4M6 device without success.Initially I am just trying to send out a single character using the lines uint8_t TxData[] = {'@'};
HAL_UART_Transmit(&huart...
Update - I found in the Cube Programmer a setting to disable the reset input on that pin and setting it to 2 as above stops the processor from resetting on a Tx. I still can't see any data coming out of the pin yet but that is probably a different pr...
OK, here you go...This will demonstrate the problem, resetting as soon as it tries to send data on USART1.I can't find anything about how to forcibly disable the reset function from that pin. I assumed it would be done if the pin was assigned as TxD ...
The Tx pin is just connected to an oscilloscope and the chip is in a breadboard with the only connections being its power rails, an LED on a GPIO pin and the ST-Link on the SWD pins.There isn't much code at the moment other than what was generated by...
Thanks Foued but that's not where the problem is. The '@' character is getting to the correct place and it fails when it is trying to write that into the Transmit Register. I can trace the disassembled program right up to that point so it is getting ...