Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN, RM46L852
Tool/software: Code Composer Studio
Good day,
we want to interface a TMS570LS1224 with a GPS receiver over UART. Therefore we use a baud rate of 921600 baud.
In order to have an accurate baud rate, we use the SCI2 module (LIN in SCI mode) where we have the possibility to fine tune the baud rate. (The module is configured to act in functional mode (not GIO mode)):
/* baud rate fine tuning */
/* bring the module into reset state */
scilinREG->GCR1 &= ~( 0x80U );
/* Formula:
* P = prescaler part
* M = 4 bit fractional divider part
* VCLK_freq / ( 16 * ( P + 1 + ( M / 16 ) ) ) */
scilinREG->BRS = 0U;
/* baud rate currently to: ~921600 baud */
/* baud rate prescaler */
scilinREG->BRS |= ( 4U << 0U );
/* 4-bit fractional divider selection */
scilinREG->BRS |= ( 7U << 24U );
/* enable the module again */
scilinREG->GCR1 |= 0x80U;
This baud rate business is working quite fine so far, but the signals coming from the GPS receiver (RX) are not properly pulled to 0V, so no data is received on the TMS570LS1224 side.
To clarify I captured the signals with this strange behavior:
Yellow: Signals from TMS570LS1224 towards GPS receiver
Green: Signals from GPS receiver towards TMS570LS1224
If I disconnect the RX pin on the TMS570LS1224 side and capture the signals again, they are properly pulled to 0V as depicted below:
Yellow: Signals from TMS570LS1224 towards GPS receiver
Green: Signals from GPS receiver (but not connected to the RX pin on the TMS570LS1224).
... absolutely no clue what could be the issue here!?!??? Any hints / suggested solutions would be very much appreciated.
Thank you and best regards ...
P.



