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.

TMS320F28334: FIFO MODE issue

Part Number: TMS320F28334
Other Parts Discussed in Thread: C2000WARE

Hello All,

My customer is using TMS320F28334/5 on many motor control board for wood working machines and other FA machines.

Right now customer is experiencing an error in the FIFO receiver of the UART on multiple boards for TMS320F28334/5.

 

Do you know if somebody in your team can take care of this customer issue or do you have an AppNote on how to manage FIFO mode?

Many Thanks,

Antonio

  • Hi Antonio,

    We don't have an app note about how to use the FIFO in RX mode, but we do have a SW example in C2000ware that uses the FIFOs for both TX and RX + ISRs:

    \C2000Ware_1_00_XX_00\device_support\f2833x\examples\scia_loopback_interrupts

    Can you describe the error/issue the customer is seeing in a little more detail? Does one of the HW error detect flags trip (BRKDT, FE, OE, or PE)? Does the customer get unexpected/corrupt data? Does the RX ISR (if configured) not occur?

    Does this happen on every customer board, or only some? Does it occur on every UART received message, or only intermittently?
  • Hello Devin,

    Customer is thinking that they have found the problem .
    The application is an accelerator where in presence of mechanical vibration, the oscillator doesn't work well and the program counter go bad.
    We have changed the oscillator, we have mounted the typical model for accelerometers and we are waiting a long time to say the problem has been resolved.

    Do you have any comments for the above customer feedback?

    Many Thanks,

    Antonio
  • Hi Antonio,

    That definitely seems like a plausible explanation.  The SCI HW will do the RX in the background and fill up the FIFO without CPU intervention, but if the clock temporarily becomes missing or inaccurate the UART frame will have errors from the SCI module's perspective and an error will occur. 

    It is worth noting that newer C2000 devices have "missing clock detect" which will automatically switch-over to the internal INTOSC clock source if the external clock fails as well as the Dual-clock comparator (DCC) module, which can be used to sanity check the frequency of the external clock.