Author Topic: Single-ended serial transmission question.  (Read 2083 times)

0 Members and 1 Guest are viewing this topic.

Offline Randall W. LottTopic starter

  • Regular Contributor
  • *
  • Posts: 180
  • Country: us
Single-ended serial transmission question.
« on: June 15, 2012, 06:55:50 pm »
On my recent project, which contains a microcontroller and a peripheral UART device, I am getting transmissions that appear to have a fairly substantial slope.  The appearance of short "1's" look triangular.  Is this because of the 50MHz oscilloscope bandwidth acting as a low pass filter, or is it a design issue?

The baudrate is slow; at 9600.  I don't have access to a logic analyzer.

I assumed that slow serial streams could be viewed in decent detail with a 50MHz oscilloscope.

Thank you.
- Randy
 

Offline johnmx

  • Frequent Contributor
  • **
  • Posts: 285
  • Country: pt
Re: Single-ended serial transmission question.
« Reply #1 on: June 15, 2012, 07:06:21 pm »
Apparently there is nothing wrong with the scope. You should have a problem in the circuit.
Post the schematic if you can.
Best regards,
johnmx
 

Offline Randall W. LottTopic starter

  • Regular Contributor
  • *
  • Posts: 180
  • Country: us
Re: Single-ended serial transmission question.
« Reply #2 on: June 16, 2012, 02:48:33 am »
Actually, it's a complete module that transmits a stream.  Insufficient power supply filtering?  I'll hook it up to a lab supply and see if the data is slewed.  I used a capacitor that is larger than the recommended value and used decoupling capacitors on every power pin on my design.  I designed my power section to provide more current than worst case.

- Randy
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10202
  • Country: nz
Re: Single-ended serial transmission question.
« Reply #3 on: June 16, 2012, 03:57:59 am »
You can see each sample the scope took of the signal.
It looks like you zoomed in on scope memory a little far, rather than a problem with the signal itself.

Try using the trigger/holdoff settings to capture the signal at a faster timebase, rather than zooming in on a slow timebase capture.

I think you will find the signal is actually nice an square.

« Last Edit: June 16, 2012, 04:06:09 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf