pjwl Posted March 22, 2016 Report Share Posted March 22, 2016 Hello, I have a the AT32UC3A0512 in combination with the SSD1963 lcd controller. The AT32 has an EBI interface, with this you can controll sdram, static memory and lcd controller like the SSD1963. Now I would like to use the uGFX library to create a GUI and controlling the SSD1963. I use the Atmel Studio as my IDE. I have included the library and the SSD1963 driver in my source and have setup my EBI interface to get access to the SSD1963. In the documentation reads that a board file needs to be included, where the driver for SSD1963 needs te be access etc,etc. Acces EBI interface: #define AVR32_EBI_CS1_ADDRESS 0xD0000000 define SSD1963_EBI (&AVR32_EBI_CS1_ADDRESS) #define SSD1963_DATA ((volatile unsigned char *) AVR32_EBI_CS1_ADDRESS) Where must I include this board file in the source and what must be in it to get the SSD1963 driver to work with my EBI Thanks already. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted March 22, 2016 Report Share Posted March 22, 2016 Hello pjwl and welcome to the community! Each driver defines his own board file. You can find the corresponding board file template in the driver's directory. In your case, copy the following file to your project: /drivers/gdisp/SSD1963/board_SSD1963_template.h and rename it to board_SSD1963.h. Then it's just a matter of filling in the empty functions. You can have a look at all the existing board file implementations to get an idea how to do that. I can recommend you having a look at this one as it uses the FSMC interface of am STM32 which is very similar to the EBI of an AVR32: /boards/base/Marlin/board_RA8875.h. You don't have to include the board file manually anywhere. The driver (inside the µGFX library) automatically includes a file named board_xxx.h where xxx is the driver name. All you have to do is making sure that the place where your board file is located is part of the inclusion path for the compiler/linked. I hope that helps. Link to comment Share on other sites More sharing options...
pjwl Posted March 22, 2016 Author Report Share Posted March 22, 2016 Thanks for the reply. I will give it a try when I get home.. Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now