Tool/software: Code Composer Studio
What is the difference between transparent mode and uart mode for UART? Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
What is the difference between transparent mode and uart mode for UART? Thanks
Where did you see this? There is no such "transparent" UART mode in Sitara devices.
For the repository for TMS320F2837x. There are transparent and uart mode for UART. There is no document about it. There is a function in the application. This function is called from the serial channel ISR when a receive interrupt occurs. It install this function by
sioCallbackInstall(...)
application use
sioTxStartup()
to send the message. I need to modify the repository for AM3358. AM3358 bsp still support it.
pChan->uart.pSccReg->gsmrh |= SCC_GSMRH_TRX | /* transparent receiver */ is the code for TMS320F2837x. What should I do for AM3358? Thanks
for UART I like to know how to install rx_isr and tx_isr?
void sioCallbackInstall( SIO_CHAN *pChan,int rcv_char,STATUS_FUNC callback_func,HANDLE dataPointer )
{
if(rcv_char == SIO_CALLBACK_PUT_RCV_CHAR) {
pChan->rx_isr = callback_func;
} else {
pChan->tx_isr = callback_func;
}
}
is for Motorola PPC 8250 processor. How should I do for AM3358? Thanks
The code for Callback function installation is provided in the UART test located here:
pdk_am335x_1_0_xx\packages\ti\drv\uart\test\src\main_uart_test.c
UART_callback() function is added to the driver which will be triggered every time there is an interrupt received in the driver code. The ISR triggers the callback function.
Regards,
Rahul
Hi Biser
I take over the repository for TMS320F2837x. There are "transparent mode" and "uart mode" for UART. I like to know the difference between them. I need to modify old repository for AM3358. Thanks