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.

TUSB3410 in HID MODE based on TUSB3410GPIO-SRCCODE UART problem

Other Parts Discussed in Thread: TUSB3410

We use TUSB3410 without problem as UART Bridge in our design, but now we wish use it as hid keyboard.

I'm not building  a keyboard, but uart  to keyboard bridge. Data received to serial port  must be send as keyboard hit.

 

For test i have one tusb3410 UART PDK. I've downloaded TUSB3410GPIO-SRCCODE, keyboard is working but not the serial debugging fonction.

Using standard 8052 register to configure serial  (sllu027a.pdf firmware debugging appnot is not working

Using LCR, LSR

I've modified source code to use UART, but i have problem with FIFO: if FIFO is not full RXF bit of  LSR register is not set. When FIFO is full we lost 1 byte to get 1 byte.

If FIFO is disabled, no data is received by mcu. i

For test i'm juste trying to echo the byte received on uart.

 

Have you sample to use TUSB3410 UART without USB troughput.

 

Regards

Alexandre

  • Alexandre,

    Please see the other thread on the same subject - again the TUSb3410 can be programmed to do many things, but we only have basic code for VCP applciations and some sample GPIO access.  It is imcumbent on the customer to implement their customized applications.