I have an XMEGA-B1 Xplained board. I am using an Atmel ICE in conjuction with Atmel Studio 7. When I run the LCD_EXAMPLE1 it all works fine.
I have used ASF to put the LCD driver into another example program - the AT45DBX_UNIT_TESTS1 and copied the relevant initialisations and functions from LCD_EXAMPLE1 into it to try to get the LCD to display something.
I cannot get even one character to display. Looking at the VLCD with an oscilloscope it doesn't get turned on.
I have been going through my code looking for differences and can't see anything wrong.
I have been looking at the LCD controller registers, Power Reduction register, Sleepmanager with the debugger and comparing the two projects. I can't see anything wrong.
I am very new to XMEGAs etc so I have heaps more to learn before I have exhausted all avenues so I am not asking anyone to debug my code. It's just that I have spent so much time on this and would rather have moved on to the next step.
Anyone familiar with using the LCD controller able to tell me any gotchas/traps for newbies? Thanks