Need help to convert .C code(Keil) for use it with FX2LP.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello Form,

   

This is a (uVision2 Project) Keil .C code, wrote for W78E516B microcontroller which is fully compatible with standard  8052. I would like to convert this .C code for use it with FX2LP board. I have tried to configure and redefine the (5)Pins so I  could use the FX2LP Pins instead, and I also tried to change the #include files, but I had no luck until now. I would be more then happy if some one could help me with this, and set me on the right direction.

   

The code is for drive a SPI LCD which has the ST7735 as driver and I have attached to this post.

   

Thank you

0 Likes
1 Reply
Anonymous
Not applicable

Hi Electrosys,

   

The 8052 is using P2 (Port 2 notation). Changing the syntax to match keil and mapping the port one of the ports (Port A, B, C, D or E) in FX2LP should get you going.

   

Have you made progress on this or do you still need help?

   

Regards,

   

Anand

0 Likes