0

So I've been working on getting UART access to the head unit in my car; I've got the schematics of the unit and found that TX3/RX3 on the Renesas SH7750 are presented externally - along with 3 "test bit" pins.

Pulling the test bits low in certain combinations enables certain modes (eval or debug). I'm happy that I am in debug mode as the unit does output on UART in this mode whereas there is nothing at all in normal operation.

Some of this is documented in a workshop manual for another headunit from the same manufacturer - but also includes a "test box" which sits between the unit and the PC (herein potentially lies the problem)

It should output "Hitanykey" and then "xanavi>"

I however only got garbage output... I've been through the baud rates and no luck so have resorted to sticking a logic analyser on it.

Any pointers or suggestions would be greatly appreciated!

Sigrok save: https://www.dropbox.com/s/td6kt2vsnfl450j/uart_test.pvs?dl=0

Schematic#1

Schematic#2

Sigrok

Whiterat
  • 1
  • 1
  • 1
    You signal looks like it might be inverted, which the decoder can presumably be configured to accept. To determine baud rate, crank up the sample rate and measure the width of the narrowest pulse, which would be one baud period. – Chris Stratton Sep 26 '20 at 15:36
  • 1
    In addition to what Chris said, after determining the correct baud rate which might be non-standard, check if you have the correct frame size, as it might contain parity so frame size could be 11 bits (start, 8 data, parity, stop). With correct framing and speed there should be no "break" or other warnings. – Justme Sep 26 '20 at 16:30
  • Thanks for the fast replies, So I tried as suggested with inverting the input in the decoder which does remove quite a few breaks. With regard to narrowest pulse: at the highest sample rate of 24mhz it sees the smallest as 41.667us. Am I lacking the resolution with my cheap analyser ? – Whiterat Sep 26 '20 at 16:54
  • It looks to me like like decent enough resolution, and the rate comes out to 24kbits/second. Not exactly a standard rate, but believable. – Eamon Sep 26 '20 at 17:28
  • Still struggling to get anything sensical here... apologies for not being much of an EE. Is there anything in the first schematic that shines any light? The "dengen" (test) box referenced in the maintenance manual specifies a pretty standard 9600 8n1 no flow control. – Whiterat Sep 27 '20 at 21:35
  • Success! Used shorter cables and found a more stable ground seemingly the one I was using wasn't particularly good..) Captures fine in Pulseview (9600 8n1 no parity, lsb first and not inverted) but still no joy with ft232rl based usb<>ttl. – Whiterat Sep 28 '20 at 22:41

0 Answers0