- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am interfacing to an I2C 128x64 OLED display with the FX2LP. I would like to display a graphic on the OLED while the other parts of the system are booting. I would need a maximum of a 1024-byte array to hold the graphic. How can this be done for the FX2LP? I've tried to make such an array and when I program the FX2 it does not enumerate.
Thanks,
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yatheesh,
I got it working by changing the array from __data to __code memory space.
Thanks,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please make sure that your I2C code is not placed in TD_Init(), as the code inside TD_Init is only used for initializing the device.
The TD_Init will be called before the device descriptors are initialized, If there is any code which delays or obstructs the code flow in TD_Init the device enumeration will be delayed or failed.
Please place the I2C code in TD_poll.
Thanks,
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yatheesh,
I got it working by changing the array from __data to __code memory space.
Thanks,
Dave