2015-06-02 08:46 PM
2015-06-03 07:18 AM
Seem to use the same variables in both IRQ.
Suggest you use your debugger, and understand what's going on internally, and if it's stuck somewhere, or not behaving quite how you want.2015-06-08 01:34 AM
2015-06-08 08:10 AM
Pleasetake a look and test it.
That would require a very large time commitment on my part, to a project I'm not working on. Suggest you break things down in to smaller parts. Get USART3 working with interrupts on a smaller test framework. The PC10/PC11 configuration seems ok.void DebugPort8( uint8_t Number )
{
DEBUGPORT->ODR = (DEBUGPORT->ODR & 0xFF00) | ((uint16_t)Number & 0x00FF);
}
void DebugPort8up( uint8_t Number )
{
DEBUGPORT->ODR = (DEBUGPORT->ODR & 0x00FF) | ((uint16_t)Number <<
8
);
}
void DebugPort16( uint16_t Number )
{
DEBUGPORT->ODR = Number;
}
2015-06-15 02:08 AM
Dear Clive1 :
Got it ! and I will try it .Thanks! O'Neill