cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

DaWi_3430881
New Contributor II

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

0 Likes
Reply
1 Solution
DaWi_3430881
New Contributor II

Hi Yatheesh,

  I got it working by changing the array from __data to __code memory space.

Thanks,

Dave

View solution in original post

0 Likes
Reply
2 Replies
YatheeshD_36
Moderator
Moderator

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

0 Likes
Reply
DaWi_3430881
New Contributor II

Hi Yatheesh,

  I got it working by changing the array from __data to __code memory space.

Thanks,

Dave

View solution in original post

0 Likes
Reply