Author Topic: Which Microcontroller to choose for Ethernet and HDMI application?  (Read 14339 times)

0 Members and 1 Guest are viewing this topic.

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #25 on: January 03, 2018, 12:21:38 am »
Ok, maybe three :-)

Driving the led matrix takes most of the time, all the other things can be done in high level languages with off the shelf linux command line utilities.
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #26 on: January 03, 2018, 12:41:20 am »
There night be another commercial requirement, if you use a raspbery pi your product can be copied/duplicated in a minute.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #27 on: January 03, 2018, 12:45:48 am »
There night be another commercial requirement, if you use a raspbery pi your product can be copied/duplicated in a minute.
But someone could duplicate the functionality with a Raspi anyway.
You could always throw a USB dongle onto it, or encrypt/serialise the software using the Pi's unique serial no.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #28 on: January 03, 2018, 12:50:23 am »
True, just saying there might be some more effort required if you use the standard emb. Linux boards.
I also wonder because there are tens of internet audio streaming devices already on the market that there are some possible patent infringemenrs involved, for your own project not a problem but a commercial project selling hundreds a year ...........
 

Offline Aodhan145

  • Frequent Contributor
  • **
  • Posts: 403
  • Country: 00
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #29 on: January 03, 2018, 12:52:26 am »
A beaglebone is probably the simplest idea, ethernet can receive the display data and can be displayed over hdmi. The internal PRU core can be used to control the led matrix.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #30 on: January 03, 2018, 01:28:24 am »
There's plenty of power in four cores though, in an orange pi, and it's notably cheaper than the others.
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #31 on: January 03, 2018, 01:31:55 am »
Why use HDMI to send text when- er.. ssh will do?

To display text "in form of an image" I think it is.
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline samy03Topic starter

  • Contributor
  • Posts: 29
  • Country: us
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #32 on: January 03, 2018, 03:26:51 pm »
The reason I can't go with Raspberry pi or Orange pi is that I have to depend on seller to supply me the boards rather than me getting my custom boards built whenever I want. I can't even get the microprocessors in those units from digikey or mouser.
I think Beaglebone black is a better option where I can use it for prototyping and later I can design a custom board because of the availability of chip.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #33 on: January 03, 2018, 03:29:56 pm »
Beware, these chips aren't for sale for long periods. They're replaced quickly.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #34 on: January 03, 2018, 04:11:00 pm »
The reason I can't go with Raspberry pi or Orange pi is that I have to depend on seller to supply me the boards rather than me getting my custom boards built whenever I want. I can't even get the microprocessors in those units from digikey or mouser.
I think Beaglebone black is a better option where I can use it for prototyping and later I can design a custom board because of the availability of chip.
That's what the RasPi compute module is for. They say it will be in production until at least 2023
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline samy03Topic starter

  • Contributor
  • Posts: 29
  • Country: us
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #35 on: January 03, 2018, 04:31:44 pm »
That's what the RasPi compute module is for. They say it will be in production until at least 2023

Again with RasPi compute I have to depend on the seller. I can not just make my own version of RasPi compute. The company I am working for will probably need this product for more than 5 years.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #36 on: January 03, 2018, 06:07:35 pm »
That's what the RasPi compute module is for. They say it will be in production until at least 2023
Again with RasPi compute I have to depend on the seller. I can not just make my own version of RasPi compute. The company I am working for will probably need this product for more than 5 years.
I agree. Don't use modules. I'm using a module in a product for a customer because they insisted on doing so but meanwhile the module got like 40% more expensive and the manufacturer already tried to make it obsolete. A full custom design would have been cheaper for the customer.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #37 on: January 03, 2018, 06:39:58 pm »
That's what the RasPi compute module is for. They say it will be in production until at least 2023
Again with RasPi compute I have to depend on the seller. I can not just make my own version of RasPi compute. The company I am working for will probably need this product for more than 5 years.
I agree. Don't use modules. I'm using a module in a product for a customer because they insisted on doing so but meanwhile the module got like 40% more expensive and the manufacturer already tried to make it obsolete. A full custom design would have been cheaper for the customer.
All depends on the volumes. Do you really want to get into DDR3 routing etc.?
A compute module would easily go on a 4L PCB with a good chance of working first time for a day or two's PCB layout work.
If the volumes increase, redesign then. 

Anything you design in today could easily go obsolete in 5 years.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #38 on: January 03, 2018, 07:52:05 pm »
I did a very similar project using a raspi compute module for hdmi and Ethernet and everything else ran on a normal stm32F4 because it was easier for me to get real-time constraints working on that rather than the pi.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #39 on: January 03, 2018, 09:32:44 pm »
The reason I can't go with Raspberry pi or Orange pi is that I have to depend on seller to supply me the boards rather than me getting my custom boards built whenever I want. I can't even get the microprocessors in those units from digikey or mouser.
I think Beaglebone black is a better option where I can use it for prototyping and later I can design a custom board because of the availability of chip.

For the price of a beaglebone you get 4 Orange Pis IIANM. And the OPi price can only go down, because sooner or later a new model will appear that's as good but even cheaper. Consider the OPi a component, your job is the software, it's quite easy to port the software from an OPi to a RasPi or a beaglebone or whatever, so you're not vendor-locked, no, not at all.
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #40 on: January 03, 2018, 09:48:29 pm »
The reason I can't go with Raspberry pi or Orange pi is that I have to depend on seller to supply me the boards rather than me getting my custom boards built whenever I want. I can't even get the microprocessors in those units from digikey or mouser.
I think Beaglebone black is a better option where I can use it for prototyping and later I can design a custom board because of the availability of chip.

For the price of a beaglebone you get 4 Orange Pis IIANM. And the OPi price can only go down, because sooner or later a new model will appear that's as good but even cheaper. Consider the OPi a component, your job is the software, it's quite easy to port the software from an OPi to a RasPi or a beaglebone or whatever, so you're not vendor-locked, no, not at all.
That is rarely a viable option for a product in series production - any change will need re-validation, maybe different cabling, mounting holes etc.  And of course software changes. Then you have to deal with different variants in the field, different software updated for different versions, issues for field service replacement etc. The initial cost of the module can be negligible compared to the long-term cost of a bad decision.
Beagleboard and Raspi are established enough to have reasonable chance of being there long-term in sufficiently similar form. anything pitched as a bargain-basement product will inevitably have questionable  longevity as the manufacturer cares more about price than continuity of supply or compatibility.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: Richard Crowley

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #41 on: January 03, 2018, 10:37:51 pm »
That is rarely a viable option for a product in series production - any change will need re-validation, maybe different cabling, mounting holes etc.  And of course software changes. Then you have to deal with different variants in the field, different software updated for different versions, issues for field service replacement etc. The initial cost of the module can be negligible compared to the long-term cost of a bad decision.
Beagleboard and Raspi are established enough to have reasonable chance of being there long-term in sufficiently similar form. anything pitched as a bargain-basement product will inevitably have questionable  longevity as the manufacturer cares more about price than continuity of supply or compatibility.

I got my first OPi PC in 2015, it's well built, stable, rock solid and still available in 2018, I got my first RasPi in 2012 and it's no longer available and I've had to go thru 5 new versions or so, most of which are no longer available. The newer rpi 3s are not fully compatible with previous ones, and the wifi and BT does not work well/reliably. The power supply circiut has always been a disaster (fixed in rpi3). Ethernet and USB I/O througput is another disaster. Etc, etc. The RasPi was first but is easily the worse af all these sbcs imho.

Read udp from ethernet, create an image with text, display thru hdmi, play some audio, all these things can be done with off-the-shelf Linux software very easlily and be portable, only the led matrix is somewhat more tricky and non standard but even that can be portable if reduced to an app to send/receive via i2c or serial or spi.

If "orange pi inc" ever goes to hell it won't matter, just compile/setup everything on/for an olimex, odroid, bananapi, nanopi, tinkerboard, pcduino, whatever (see https://www.armbian.com/download/ ) and you're done.

At least that's what I honestly believe.
« Last Edit: January 03, 2018, 10:41:12 pm by GeorgeOfTheJungle »
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #42 on: January 03, 2018, 10:46:24 pm »

If "orange pi inc" ever goes to hell it won't matter, just compile/setup everything on/for an olimex, odroid, bananapi, nanopi, tinkerboard, pcduino, whatever (see https://www.armbian.com/download/ ) and you're done.


That's easy enough to say, but for a production thing even the slightest change can be a major headache for all sorts of reasons. 
"Just compile/setup" can turn into a huge engineering headache and cost a lot of time & money. More so if the people who implemented it aren't still around. Not to mention any re-approvals issues (EMC at least).
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #43 on: January 03, 2018, 11:05:47 pm »
That's what the RasPi compute module is for. They say it will be in production until at least 2023
Again with RasPi compute I have to depend on the seller. I can not just make my own version of RasPi compute. The company I am working for will probably need this product for more than 5 years.
I agree. Don't use modules. I'm using a module in a product for a customer because they insisted on doing so but meanwhile the module got like 40% more expensive and the manufacturer already tried to make it obsolete. A full custom design would have been cheaper for the customer.
All depends on the volumes. Do you really want to get into DDR3 routing etc.?
A compute module would easily go on a 4L PCB with a good chance of working first time for a day or two's PCB layout work.
If the volumes increase, redesign then. 

Anything you design in today could easily go obsolete in 5 years.
That chance is higher when using a module then a SoC with a guaranteed availability of 10 to 15 years. For a volume between 100 to 200 pieces it already makes sense to go full custom. Remember you don't have to re-invent the wheel because you can use existing boards as a reference design besides the extensive high-speed routing guidelines which typically come with a SoC. I'm not saying it is copy and paste but it is pretty darn close: read the manual, follow the recipe and use common sense (been there & done that for other projects).

Another problem with modules is that you will probably be dealing with high speed interconnects for PCIexpress, LVDS, USB, ethernet, Sata, MIPI, etc for which the usual module connectors (intended for memory) are not very suitable to begin with.
« Last Edit: January 03, 2018, 11:07:41 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #44 on: January 03, 2018, 11:25:25 pm »

If "orange pi inc" ever goes to hell it won't matter, just compile/setup everything on/for an olimex, odroid, bananapi, nanopi, tinkerboard, pcduino, whatever (see https://www.armbian.com/download/ ) and you're done.


That's easy enough to say, but for a production thing even the slightest change can be a major headache for all sorts of reasons. 
"Just compile/setup" can turn into a huge engineering headache and cost a lot of time & money. More so if the people who implemented it aren't still around. Not to mention any re-approvals issues (EMC at least).

Sure, shit happens, but, come on, what he wants isn't rocket science, most of it can be done this way in ~ no time, and that counts too, no?

For example, to get udp it's only a few lines of javascript for node.js (done in minutes, literally). To put the image on the screen thru hdmi perhaps a .sh with some parameters will do. Ditto to play a .snd. Etc. All very easy and portable, piece of cake... can be done this way because $15 buys you a Linux with GBs of RAM and 4 cores at 1.x GHz that can do these things in ms and because most needs have already been thought and done by somebody else and are ready to be apt-get install-ed for you to use without having to develop them again. Except the led matrix driver.
The further a society drifts from truth, the more it will hate those who speak it.
 
The following users thanked this post: Someone

Offline Richard Crowley

  • Super Contributor
  • ***
  • Posts: 4317
  • Country: us
  • KJ7YLK
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #45 on: January 03, 2018, 11:52:44 pm »
It seems to me that the only things here that seem at all "custom" are
  • The "LED matrix" driver (undefined?)
  • The HDMI switch
All the other requirements can be done with generic, commodity components:
  • receive data from Ethernet through UDP (Multicast)
  • create image and send to HDMI output
  • receive a sound file through Ethernet
  • output sound file on an Audio Jack connector for speakers
  • control LED matrix driver
  • control HDMI switch
  • POE

If you are really worried about long-term viability, designing a custom board with everything is no more of a "sure thing" than using a commodity micro-controller board (RasPi, et.al.)  Consider that any critical component (the microcontroller, the HDMI switch, etc.) could go extinct in the middle of your product life-cycle and you would have to re-design your custom board around a replacement.

OTOH, developing the "LED Matrix" driver and HDMI switch as basic, board-level I2C peripherals would mean that you could use ANY available microcontroller board and simply maintain the application as essentially a software solution.
 
The following users thanked this post: GeorgeOfTheJungle

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #46 on: January 04, 2018, 02:15:25 am »
let me know if you find an HDMI switch IC that a hobbiest can buy.

I tried for a while and got nowhere. Ended up just using a generic aliexpress board and patching into the i2C lines to control it
 

Offline samy03Topic starter

  • Contributor
  • Posts: 29
  • Country: us
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #47 on: January 04, 2018, 03:27:29 pm »
let me know if you find an HDMI switch IC that a hobbiest can buy.

I tried for a while and got nowhere. Ended up just using a generic aliexpress board and patching into the i2C lines to control it

I am using TS3DV642, and its costs $1.64
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #48 on: January 05, 2018, 11:20:49 am »
Thanks for taking the time to post that Samy. Unfortunately not quite what I am after. I need 4>1 with audio de-embed. Because of the audio requirement, that opens HDCP and HDMI licensing cans galore.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14471
  • Country: fr
Re: Which Microcontroller to choose for Ethernet and HDMI application?
« Reply #49 on: January 05, 2018, 02:56:22 pm »
Hi again,

I think we all kind of overlooked the solution you were initially suggesting. I didn't know the SiI9022.
More info there: http://www.latticesemi.com/en/Products/ASSPs/MobileHDMITransmitters.aspx
Looks like we need to contact sales to get ahold of the datasheet? So it's hard to give very informed feedback on this solution.

Just a couple things that might be a problem:
  • The STM32F429's LCD controller supports up to XGA resolution. The SiI9022 is advertised for full hd (1080p) resolution. I have no idea if it supports other resolutions and/or can do scaling, but I suspect it may not. I that case, it won't work. You may have more info on that though, if you have the datasheet, let us know.
  • I've never used the STM32F4 series LCD controllers. I don't know exactly what can be done with them. XGA resolution (1024x768) in 24-bit RGB would require a 2.25 MBytes framebuffer, and surely the STM32F4 uCs don't have that kind of embedded RAM to begin with, so I wonder if the LCD controller is not supposed to be used with LCD panels with integrated controllers/framebuffers. And I would guess the SiI9022 would need a "scanline", 24-bit output. Not sure this is what the STM32F4 provides. You really have to check.

Again, I don't have enough info on SiI9022 and have not dug enough into the STM32F4 series LCD controllers, so this could very well work, but those are at least points to consider before diving into this.

On top of that, since you are cautious about long-term availability, I'm not sure how long the SiI9022 is supposed to be supported by Lattice.

One option if you still want this kind of architecture with less dependency on supply and more flexibility on specs would be to use an FPGA for the HDMI part, and either write your own controller or use existing IPs.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf