Nvidia (NVDA -10.01%) and Texas Instruments (TXN -2.44%) represent two very different ways to invest in the semiconductor industry. Nvidia generates most of its revenue from sales of high-end graphics cards, but it's been diversifying into GPUs for data centers and CPUs for connected cars. Texas Instruments manufactures cheaper analog and embedded chips for mobile devices, consumer electronics, industrial machinery, wireless infrastructure, and connected cars.

Image source: Pixabay.

While the two companies aren't direct competitors, they could both benefit from the recent rebound in semiconductor stocks and the rise of connected and driverless cars. Let's examine both companies' core businesses, growth trajectories, and valuations to decide which one is a better buy at current prices.

How do Nvidia and Texas Instruments make money?

Nvidia's core GPU business, which generated 83% of its revenue last quarter, bucked the slowdown in PC sales by relying on high-end PC gamers. Total GPU revenue rose 15% annually to $1.08 billion last quarter, with gaming GPU sales rising 17% and accounting for nearly two-thirds of that total.

Sales of GPUs for data centers, particularly those used for machine learning purposes, surged 63% and accounted for 13% of GPU sale. Sales of Tegra CPUs rose 10% to $160 million, thanks to a 47% jump in revenue from high-end automakers, which install the CPUs in their infotainment and navigation systems. Nvidia's healthy growth across all those categories boosted its total revenue by 13% to $1.3 billion last quarter. Analysts expect Nvidia's revenue to rise 12% this year.

Nvidia's new GTX 1080. Image source: Nvidia.

Texas Instruments reports revenue in two segments -- analog chips and embedded chips. Analog chips convert real-world "signals" -- like voice, sound, pressure, and temperature -- into digital signals. Embedded chips, like digital signal and media processors, perform specific tasks in a device to reduce the workload on traditional CPUs.

Last quarter, sales of analog chips fell 8% annually to $1.88 billion, but sales of embedded chips rose 8% to $729 million. Revenue from its "other" category, which includes calculators, other devices, and royalties, declined 10% to $400 million. Total sales fell 5% to $3 billion. TI only breaks down its revenue by industry at the end of each fiscal year:

Image source: Texas Instruments.

TI believes that its industrial and automotive segments will eventually generate "stickier revenue and margin profiles over time," while wireless infrastructure upgrades (like 5G towers) should boost its communications equipment revenue. That growth could offset weaker spending on mobile devices, consumer electronics, and enterprise devices. Nonetheless, analysts expect TI's annual revenue to slip 1% this year.

Which company is more profitable?

Nvidia's gross margin rose 80 basis points annually to 57.5% last quarter. TI's gross margin, however, rose a whopping 290 basis points last quarter to a "new record" of 60.6%. TI mainly attributes that margin expansion to its shift from 200mm to 300mm wafers for manufacturing, which the company claims reduces chip production costs by 40%. Nvidia's operating margin of 18.8% also pales in comparison to TI's operating margin of 32.2%.

But in terms of year-over-year earnings growth, Nvidia easily tops TI. Nvidia's GAAP net income rose 46% annually last quarter, while TI's only rose 2%. Both companies boosted their earnings with buybacks, but Nvidia's EPS grew 46% as TI's rose just 7%.

Forecasts and valuations

Nvidia is expected to post 45% earnings growth this year followed by 22% growth next year. That forecast justifies its somewhat lofty forward P/E of 34. Over the following year, Nvidia's growth is expected to be fueled by new GPUs like the GTX 1060, 1070, and 1080, which should help it maintain pressure on its underdog rival AMD (AMD -5.44%). Demand for "VR ready" GPUs and interest in its machine learning and driverless car platforms could also drive growth across non-gaming markets.

TI is expected to post 5% earnings growth this year, followed by 10% growth next year. Based on those estimates, its forward P/E of 22 (its highest level since late 2013) seems a tad high. 11% of TI's revenue came from Apple last year, and waning sales of the iPhone could dent its top and bottom line growth. NXP's acquisition of Freescale last year, which made it the biggest automotive chipmaker in the world, could also put pressure on TI's automotive margins with economies of scale.

Which is the better buy?

Some investors consider Nvidia to be a "riskier" play than TI, because its business is less diversified and its valuations are higher. TI is growing slower, but it has a lower valuation, and its forward dividend yield of 2.3% is much higher than Nvidia's yield of 0.9%.

However, Nvidia seems to have more tailwinds (PC gaming, VR, machine learning, connected cars) than TI, which seems to mostly face headwinds in the near future. TI might also need to make a big acquisition to keep pace with NXP's scale in automotive chips. Therefore, I believe that Nvidia is better suited for investors looking for robust long-term growth in a market of slow growing chipmakers.