The GLCD ST7565R component on LoRa Mote board
Posted: Tue Jun 05, 2018 11:09 am
Hi guys,
I'm using the FC for more then 3 years by now, however I never had any luck getting FC graphic display components working with my real hardware. I was pushed to write my own driver every time. This is not so hard, but to make own component with full and precise simulation is actually quite painful in comparison to 'normal coding' in FC.
I'm determine this time to get it now working with FC8 when I had purchased components again.
I'm trying to make a project using FC8 for the 'Microchip LoRa mote' board hardware. On the board, apart of other components such are some sensors and LoRa modem, are the PIC 18LF45K50 and parallel graphic display ERC12832-1 based on ST7565R controller. The connection is direct to PIC and there is no reason why this shouldn't work. However it doesn't. I posted the post on the forum more then year ago on the same subject but there was no resolution. I hope this time we will have a bit more luck, now when FC8 is out.
So when i compile the project using the MPLAB IDE which has the Microchip display driver, it works no problem, but if i use FC8 component the display is dead.
So I have request, could you please enable the display resolution change? The ERC12832 is 128 x 32 pixels.
I would happily modify the component but we, as ordinary users, have no access to the purchased FC components to change or modify them.
I believe the display component library should be based on controller model (not on actual display model) and the configuration should be configurable to cover controller features. This would help. Also you should publish actual documentation and specification which you used developing component. That would be an excellent reference and help for component.
So back to helping me out: do you see what may be the problem here? Is it the mismatch in resolution? Looking the source code for Microchip LCD driver there is nothing relevant in initialization or writing a simple integer number using the resolution parameter. Is this the case with FC component?
Could you make resolution configurable for this (and all other) components? I know that some display have this configurable.
Here is the relevant board schematic, and component pins mapping. I also attached the current project for the hardware board where in main i removed actual application and replaced with initialization of the LCD and some LED flashing in the loop. If you need to use the 18LF45K50 inside the project you can find the configuration, and some additional configuration which is required for this model of PIC to work with internal oscillator and USB port. This is actually tested and working.
For the rest of the functions inside the project i relay didn't have chance to test it on real hardware as i become stuck with the display.
The board user manual can be downloaded from Microchip web: http://ww1.microchip.com/downloads/en/D ... 0Guide.pdf
Regards,
Igor
I'm using the FC for more then 3 years by now, however I never had any luck getting FC graphic display components working with my real hardware. I was pushed to write my own driver every time. This is not so hard, but to make own component with full and precise simulation is actually quite painful in comparison to 'normal coding' in FC.
I'm determine this time to get it now working with FC8 when I had purchased components again.
I'm trying to make a project using FC8 for the 'Microchip LoRa mote' board hardware. On the board, apart of other components such are some sensors and LoRa modem, are the PIC 18LF45K50 and parallel graphic display ERC12832-1 based on ST7565R controller. The connection is direct to PIC and there is no reason why this shouldn't work. However it doesn't. I posted the post on the forum more then year ago on the same subject but there was no resolution. I hope this time we will have a bit more luck, now when FC8 is out.
So when i compile the project using the MPLAB IDE which has the Microchip display driver, it works no problem, but if i use FC8 component the display is dead.
So I have request, could you please enable the display resolution change? The ERC12832 is 128 x 32 pixels.
I would happily modify the component but we, as ordinary users, have no access to the purchased FC components to change or modify them.
I believe the display component library should be based on controller model (not on actual display model) and the configuration should be configurable to cover controller features. This would help. Also you should publish actual documentation and specification which you used developing component. That would be an excellent reference and help for component.
So back to helping me out: do you see what may be the problem here? Is it the mismatch in resolution? Looking the source code for Microchip LCD driver there is nothing relevant in initialization or writing a simple integer number using the resolution parameter. Is this the case with FC component?
Could you make resolution configurable for this (and all other) components? I know that some display have this configurable.
Here is the relevant board schematic, and component pins mapping. I also attached the current project for the hardware board where in main i removed actual application and replaced with initialization of the LCD and some LED flashing in the loop. If you need to use the 18LF45K50 inside the project you can find the configuration, and some additional configuration which is required for this model of PIC to work with internal oscillator and USB port. This is actually tested and working.
For the rest of the functions inside the project i relay didn't have chance to test it on real hardware as i become stuck with the display.
The board user manual can be downloaded from Microchip web: http://ww1.microchip.com/downloads/en/D ... 0Guide.pdf
Regards,
Igor