Hi to all,
i am using USART0 of LPC54606J512BD100, All configrations are working properly when i put the same code to the developmemnt board but when i suppose to burn same code into my hardware card USART0 Tx not working, i don know why ?
void USART_WRITE(unsigned char *string)
{
while(*string!='\0') // Loop run till value not equal to NULL Character
{
USART0->FIFOWR = *string; // Data Write into FIFO Write Register
string++; // Increment in i variable for next character
}
}
while (Tx_NOTFULL & USART0->FIFOSTAT)
{
USART_WRITE(S_string); // USART_WRITE Function Call
}
my core clock is 180MHz
please tell me why Tx function is not working?
Hello,
How about using logic analyzer measure Tx signal, also pay attention whether connected to the right TX pin.
And what is the difference about "Development board" and "Hardware card"?
BR
Alice
hi..
i have verified tx pin its ok and Hardware card is the product PCB.
when i am using lpcxpresso54628 development board the same code running ok and tx signal is showing on CRO as well.
but when i am bruning same code in LPC54606J512BD100 its not working.
here i have also verify the TX pin with datasheet.
Hello,
You can check the difference about pin, UART, and clock between the two chips, confirm configure them right.
Also check hardware connection.
Or create a new project based on LPC54606J512BD100 , then copy function code into it.
BR
Alice
PLEASE REPLY.
.