Hi everyone,
I am working on selecting the OLED for my project. To minimise the software efforts for interfacing, I searched the web to find a driver for SSD series based OLED to start the development with. But, I was not successful. If anyone know where I can find SPI driver in C for FRDM-K64F, please let me know. Your help is much appreciated.
Best regards,
Mahendran
Solved! Go to Solution.
For the SSD1351, see mcuoneclipse/Examples/MCUXpresso/FRDM-K64F/FRDM-K64F_Adafruit_SSD1351 at master · ErichStyger/mcuone...
I do have a smilar thing for SSD1306 and SSD1331, but not ported yet to MCUXpresso IDE.
I hope this helps,
Erich
Hi Mahendran
See
http://www.utasker.com/docs/uTasker/uTaskerLCD.PDF
for SSD OLED driver and simulation.
Integrated in uTasker K64 project - free Open Source on GitHub.
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
Kinetis K64:
- http://www.utasker.com/kinetis/FRDM-K64F.html
- http://www.utasker.com/kinetis/TWR-K64F120M.html
- http://www.utasker.com/kinetis/TEENSY_3.5.html
- http://www.utasker.com/kinetis/Hexiwear-K64F.html
Hello Mahendran,
I recommend you to download the newest version of the MCUXpresso SDK for the FRMD-K64F. In the SDK you will find all the drivers for the peripherals of the board along with examples that implement those drivers.
Link to learn more about the SDK.
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear Victor,
Thanks for your response.
I downloaded the latest FRDM-K64F SDK for MCUXpresso IDE with all the options enabled. I can find the generic SPI and I2C driver. But, I could not find any example code for OLED Display. Besides, I could not find code for any other kind of displays.
best regards,
Mahendran
Hello Mahendran,
In the following community post you will find an example of a 16x2 segment LCD using the drivers of the SDK. Driving 16x2 LCD using KSDK drivers
Once you have the drivers in order to make the implementation you will need to read the datasheet of your display very carefully to learn what the I2C/SPI command and data flow you need to operation.
Regards,
Victor.
Thanks Victor,
I'd like to use OLED in my design.
Thanks for your efforts to help me out.
best regards,
Mahendran
Hi Mahendran,
It would depend on what OLED/LCD display you want to use. I have published several projects for different OLED displays on GitHub (mostly based on Processor Expert), e.g.
I hope this helps,
Erich
Thanks Erich for details,
I was looking for any kind of source code that I can use as a starting point for development.
The prerequisite were source code for
1. 0.96" OLED based on SSD series ICs
2. Colour or B&W,
3. SPI or I2C interface,
4. Developed for FRDM-K64F
5. Based on MCU Xpresso IDE 10.1
6. Source code in "C"
The first option will help me a lot in developing a code closer to the specification that I mentioned above.
Last option is good too, but I am little concerned that I may end up in a lot of unknown issues and take longer than the first approach.
It would be of great help if you can advise me on the best possible approach.
Thanks,
Best regards,
Mahendran
Thanks Erich for details,
I was looking for any kind of source code that I can use as a starting point for development.
The prerequisite were source code for
1. 0.96" OLED based on SSD series ICs
2. Colour or B&W,
3. SPI or I2C interface,
4. Developed for FRDM-K64F
5. Based on MCU Xpresso IDE 10.1
For the SSD1351, see mcuoneclipse/Examples/MCUXpresso/FRDM-K64F/FRDM-K64F_Adafruit_SSD1351 at master · ErichStyger/mcuone...
I do have a smilar thing for SSD1306 and SSD1331, but not ported yet to MCUXpresso IDE.
I hope this helps,
Erich
Thanks Erich for the swift response,
I will try porting the code for SSD1306, if I am successful, I will use that. Else, I will use the MCU Xpresso 10.1 based code for SSD1351.
Either case, I will let you know about the success.
Thanks very much for your help.
best regards,
Mahendran