Help with spi display choice

Thread Starter

jojojijijojo

Joined Mar 28, 2016
2
Hi guys,
Im new here, I could really use some help from you guys.
So I have this freescal tower board mcf51 http://cache.nxp.com/files/32bit/doc/data_sheet/MCF51MM256.pdf?pspll=1 and want to use an spi display with it to output some user interface and system information.
There aren't many resources showing what displays are compatible with this board, so I need some help to see if the following display will work with it.
The display im interested in is this one https://www.adafruit.com/products/1770
Im new to this, so please be patient with me.
Now I know that my board does have an SPI communication, but what im worried about is the display library. Will that display work with it with no problems? Or would It need a custom library to be able to use it?

Thank you.
 

shteii01

Joined Feb 19, 2010
4,644
You are looking at it wrong. The individual hardware don't matter. The only thing that matters is the presence of SPI. Does the mcf51 do SPI? Does the display do SPI? If the answer is yes to both questions, then compatibility of particular display to particular board/uC does not matter. This is why we have standards, so that different hardware can talk to each other and not care what individual pieces of hardware are.
 

Thread Starter

jojojijijojo

Joined Mar 28, 2016
2
Thank you for your reply! I had a feeling that since both devices are capable of SPI communication then it would not matter.
But what really confuses me are the libraries. For example I was looking at a wireless spi module, https://learn.adafruit.com/introducing-the-adafruit-bluefruit-spi-breakout/software and during the tutorial, they mention that you need its library, now when I looked at the library, it is heavily oriented towards arduino boards https://github.com/adafruit/Adafruit_BluefruitLE_nRF51
Is the library really necessary for those modules? Would I have to rewrite a new library if I don't want to use the module with arduino but instead with my freescale mcf51?
 

shteii01

Joined Feb 19, 2010
4,644
Thank you for your reply! I had a feeling that since both devices are capable of SPI communication then it would not matter.
But what really confuses me are the libraries. For example I was looking at a wireless spi module, https://learn.adafruit.com/introducing-the-adafruit-bluefruit-spi-breakout/software and during the tutorial, they mention that you need its library, now when I looked at the library, it is heavily oriented towards arduino boards https://github.com/adafruit/Adafruit_BluefruitLE_nRF51
Is the library really necessary for those modules? Would I have to rewrite a new library if I don't want to use the module with arduino but instead with my freescale mcf51?
Libraries are nice because they contain frequently used functions. This way you don't need to write those functions.

Generally speaking adafruit is arduino heavy. I have used their parts and their tutorials for temperature (tmp35 and thermocouple) and real time clock on arduino due.

If I was you, I would check freescale/nxp website for libraries and example code.
 
Top