Posted on May 17, 2011 at 14:02Finally got a change to pick this up again after a few hectic days. Which wasn't a bad thing since it offered a fresh look again and I quickly found the root of the problem. It's one of those 'headdesk' moments... You ...
Posted on May 17, 2011 at 14:02Tried your suggestion of resetting first, but again no difference. Also I find it unlikely the hardware is broken. USART 1 and 3 both suffering from the exact same issue? Unlikely. I'm leaning more and more towards a s...
Posted on May 17, 2011 at 14:02Ok got something that does work - instead of checking if the TXE bit is cleared, this just loops until the TXE bit is set. I'm at a loss for words at the moment. void Usart3SendString(int8_t * pSrc) { //transmit outb...
Posted on May 17, 2011 at 14:02Same story with USART3 using Usart3SendString(). Only the last character is received. To make sure it's not the receiving end I've hooked up a digiscope to the STM32's TX pin. Scope shows 1 character being transmitted,...
Posted on May 17, 2011 at 14:02Forgot some defines used in the above code [code] // LEDs #define LED_READY_PORT GPIOC #define LED_ERROR_PIN GPIO_Pin_10 #define LED_READY_PIN GPIO_Pin_11 #define LED_MOUNTED_PI...