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.

Hercules RM48L952ZWT HalCoGen Serial Driver Rx Gets Stuck in Endless Loop

Other Parts Discussed in Thread: HALCOGEN

Hello. We are using the Hercules RM48L952ZWT with HalCoGen 4.03.00 generated serial driver. The problem is using the scilin for serial. We are undergoing medical device safety testing. When the Rx pin is accidentally shorted during runtime, the scilin ISR gets stuck being triggered in an endless loop thinking it is receiving byte over and over (0xFF) at the driver level ((uint8)(scilinREG->RD & 0x000000FFU)). Is there a way via software if this happens, that we can somehow reset the scilin to get the RM48 out of the endless loop triggered by the short to auto recover without rebooting the board?  Thank you.

  • Hi Tammy,

    You should also be getting framing errors because there wont' be a stop bit (which is supposed to be '1') in this case.
    Can you perhaps add a filter to your software where if you get several '0xFF' plus framing errors you diagnose this as a stuck line?