EYE ON NPI - MaxLinear half duplex RS-485 transceivers episode artwork

EPISODE · Sep 26, 2024 · 9 MIN

EYE ON NPI - MaxLinear half duplex RS-485 transceivers

from Adafruit Industries · host Adafruit Industries

This week's EYE ON NPI is Gon' Give It To Ya (https://www.youtube.com/watch?v=fGx6K90TmCI), it's the MaxLinear half duplex RS-485 transceivers (https://www.digikey.com/en/product-highlight/m/maxlinear/rs485-422-serial-transceiver) an easy way to convert your every day UART serial connection to a RS-485 or RS-422 data link layer (https://en.wikipedia.org/wiki/Data_link_layer). We've seen RS-485 most often in DMX512 lighting networks (https://en.wikipedia.org/wiki/DMX512), where there are up to 512 lights/devices connected up to a control board 'universe'. Each one is individually settable. While these could have used CAN bus, or Ethernet, DMX ended up using RS-485 for simplicity and low cost. It's super easy and inexpensive to convert between UART and RS-485 using a MaxLinear chip because the encoded data is the same as 8N1 serial. Each line of RS-485 consists of a differential signal pair, A + B, where A is inverted from B and B's logic level is the bit being sent. This means it can go farther and more reliably than RS-232 (https://en.wikipedia.org/wiki/RS-232) which is single-ended and just has wide voltage swings. However, instead of having ground, RX and TX for connection between two data ports - DCE and DTE - RS-485 cables as used in a DMX setup have the A and B wires plus ground. This means RS-485 going to survive signal degradation better than RS-232 but the downside is its uni-directional. That's fine for lighting rigs because you just want to tell the light "turn blue" or fog machine "on". RS-485 is also driven quite fast, the DMX standardizes on 250kbps comfortably, whereas RS-232 does best at 115.2kbps or less. If you really want, it is possible to convert the line into a bi-directional setup as long as the transmitter knows when to expect signal from a remote device. Simply sent the Driver Output Enable pin of the MxL8321x (https://www.digikey.com/short/dm7zp1hf) low to tri-state the output driver buffer, then set Receiver Output Enable line low, this will swap the device from being a transmitter to a receiver. The light on the other side will do the opposite, setting both pins high to turn into a transmitter. It can then send signal back down the line. Technically this is the difference between RS-485 and RS-422 (https://en.wikipedia.org/wiki/RS-422), which is really just the differential-ized RS-232 part without output/input enable and thus does not have the ability to change 'direction'. For RS-422 you'll probably want two MxL8321x's (https://www.digikey.com/short/dm7zp1hf), one for each direction. While used often for DMX512, you don't have to use the DMX protocol with your MxL8321x RS-485 converters: after all it's just a new physical layer for UART serial, so if you have any design that already uses serial: GPS, MIDI, microcontroller communication, radio modules, you can pop these in between for no-fuss extension from a few inches to many meters, up to 500kbps. The MxL8321x uses 3.3v or 5V power/logic so its easy to integrate into any existing design. The family also comes in a few package sizes and speed variants, from the MxL83211's (https://www.digikey.com/short/55bp41c9) 250kbps to the MxL83214's 50Mbps (https://www.digikey.com/short/zrb42hdh). Pick the slowest one you can use to get the best line drive strength to reduce EMI and reflections. You'll also need to set up a terminator (https://www.ti.com/lit/an/snla044b/snla044b.pdf) on the end of the transmission line. If you're looking to add RS-485 or RS-422 support to your next design, MaxLinear is here to Give You What You Really Want (https://www.youtube.com/watch?v=0MdAbsd0HmI) with their wide range of half duplex RS-485 transceivers. And best of all, DigiKey has them all in stock for instant shipment to your door. Order today and you'll have your MxL8321x in hand by tomorrow morning for instant integration.

This week's EYE ON NPI is Gon' Give It To Ya (https://www.youtube.com/watch?v=fGx6K90TmCI), it's the MaxLinear half duplex RS-485 transceivers (https://www.digikey.com/en/product-highlight/m/maxlinear/rs485-422-serial-transceiver) an easy way to convert your every day UART serial connection to a RS-485 or RS-422 data link layer (https://en.wikipedia.org/wiki/Data_link_layer). We've seen RS-485 most often in DMX512 lighting networks (https://en.wikipedia.org/wiki/DMX512), where there are up to 512 lights/devices connected up to a control board 'universe'. Each one is individually settable. While these could have used CAN bus, or Ethernet, DMX ended up using RS-485 for simplicity and low cost. It's super easy and inexpensive to convert between UART and RS-485 using a MaxLinear chip because the encoded data is the same as 8N1 serial. Each line of RS-485 consists of a differential signal pair, A + B, where A is inverted from B and B's logic level is the bit being sent. This means it can go farther and more reliably than RS-232 (https://en.wikipedia.org/wiki/RS-232) which is single-ended and just has wide voltage swings. However, instead of having ground, RX and TX for connection between two data ports - DCE and DTE - RS-485 cables as used in a DMX setup have the A and B wires plus ground. This means RS-485 going to survive signal degradation better than RS-232 but the downside is its uni-directional. That's fine for lighting rigs because you just want to tell the light "turn blue" or fog machine "on". RS-485 is also driven quite fast, the DMX standardizes on 250kbps comfortably, whereas RS-232 does best at 115.2kbps or less. If you really want, it is possible to convert the line into a bi-directional setup as long as the transmitter knows when to expect signal from a remote device. Simply sent the Driver Output Enable pin of the MxL8321x (https://www.digikey.com/short/dm7zp1hf) low to tri-state the output driver buffer, then set Receiver Output Enable line low, this will swap the device from being a transmitter to a receiver. The light on the other side will do the opposite, setting both pins high to turn into a transmitter. It can then send signal back down the line. Technically this is the difference between RS-485 and RS-422 (https://en.wikipedia.org/wiki/RS-422), which is really just the differential-ized RS-232 part without output/input enable and thus does not have the ability to change 'direction'. For RS-422 you'll probably want two MxL8321x's (https://www.digikey.com/short/dm7zp1hf), one for each direction. While used often for DMX512, you don't have to use the DMX protocol with your MxL8321x RS-485 converters: after all it's just a new physical layer for UART serial, so if you have any design that already uses serial: GPS, MIDI, microcontroller communication, radio modules, you can pop these in between for no-fuss extension from a few inches to many meters, up to 500kbps. The MxL8321x uses 3.3v or 5V power/logic so its easy to integrate into any existing design. The family also comes in a few package sizes and speed variants, from the MxL83211's (https://www.digikey.com/short/55bp41c9) 250kbps to the MxL83214's 50Mbps (https://www.digikey.com/short/zrb42hdh). Pick the slowest one you can use to get the best line drive strength to reduce EMI and reflections. You'll also need to set up a terminator (https://www.ti.com/lit/an/snla044b/snla044b.pdf) on the end of the transmission line. If you're looking to add RS-485 or RS-422 support to your next design, MaxLinear is here to Give You What You Really Want (https://www.youtube.com/watch?v=0MdAbsd0HmI) with their wide range of half duplex RS-485 transceivers. And best of all, DigiKey has them all in stock for instant shipment to your door. Order today and you'll have your MxL8321x in hand by tomorrow morning for instant integration.

NOW PLAYING

EYE ON NPI - MaxLinear half duplex RS-485 transceivers

0:00 9:16

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

API Intersection Stoplight Building a successful API requires more than just coding. It starts with collaborative design, focuses on creating a great developer experience, and ends with getting your company on board, maintaining consistency, and maximizing your API’s profitability.In the API Intersection, you’ll learn from experienced API practitioners who transformed their organizations, and get tangible advice to build quality APIs with collaborative API-first design.Jason Harmon brings over a decade of industry-recognized REST API experience to discuss topics around API design, governance, identity/auth versioning, and more.They’ll answer listener questions, and discuss best practices on API design (definition, modeling, grammar), Governance (multi-team design, reviewing new API’s), Platform Transformation (culture, internal education, versioning) and more.They’ll also chat with experienced API practitioners from a wide array of industries to draw out practical takeaways and insights you can use.H TV Podcast Industries Chris Jones, Derek O'Neill and John Harrison. TV Podcast Industries TV Podcast Industries is a podcast that provides discussions and reviews of various TV shows, including recent popular series like Alien Earth, The Sandman, The Last of Us, The Boys, and Daredevil Born Again. They also cover shows such as Ironheart, Star Trek: Picard, The Rings of Power, and many more, spanning both Marvel and DC universes, as well as other genres. Heart to Heart Podcast One on One / Next Level Studios In the Heart to Heart Podcast, we talk to some of our favorite & most interesting people in the entertainment industry so you can feel empowered and learn that even in the most challenging of industries, where there’s a will there’s a way.Whether you’re an actor, a writer, a casting director, a talent rep, or just someone interested in the behind the scene happenings of the entertainment industry, this podcast will have something for you. NOW, this isn’t just another How To podcast for actors. Plenty of those shows already exist. In Heart to Heart, every guest will share stories inspired by their sometimes winding path to success on their own terms. Revisionist History Pushkin Industries Revisionist History is Malcolm Gladwell's journey through the overlooked and the misunderstood. Every episode re-examines something from the past—an event, a person, an idea, even a song—and asks whether we got it right the first time. From Pushkin Industries. Because sometimes the past deserves a second chance.To get early access to ad-free episodes and extra content, subscribe to Pushkin+ in Apple Podcasts or at pushkin.fm/plus.iHeartMedia is the exclusive podcast partner of Pushkin Industries.

Frequently Asked Questions

How long is this episode of Adafruit Industries?

This episode is 9 minutes long.

When was this Adafruit Industries episode published?

This episode was published on September 26, 2024.

What is this episode about?

This week's EYE ON NPI is Gon' Give It To Ya (https://www.youtube.com/watch?v=fGx6K90TmCI), it's the MaxLinear half duplex RS-485 transceivers (https://www.digikey.com/en/product-highlight/m/maxlinear/rs485-422-serial-transceiver) an easy way to...

Can I download this Adafruit Industries episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!