Guest
#1344095
Hello, Many people write that it is quite easy to add additional peripherals to the T51 core by means of the SFR bus. Are there any VHDL examples out there on the net? =) Reason why I am asking: I want to extend/modify the T51 IP core to make the 8052 into a 100% compatible NXP 80C522 microcontroller. As you might know, this means: 1) I2C, 2) Compare registers, 3) PWM, etc. The extended T51 should be 100% compatible with the 80C522, meaning that the original ROM code should run flawless. Adding a peripheral to the SFR bus might be easy, but if so, how come that there are no concrete VHDL examples for the T51 IP core in particular. Additional question: If you add a peripheral by means of Wishbone, does the microcontroller code need to know about the peripheral bus, or would it work in similar way as if it was connected to the Intel SFR bus? It looks like using the Wishbone bus, would mean customer microcontroller code, therefore I prefer to stick with the original SFR bus, as that was designed exactly for the purpose to have a common 8051 core, and extend the core to its own flavour while staying compatible... But again.. then I would like to have some example. Is there anybody out there who did a similar project like the one I suggested.. e.g. converting T51 8052 into a 80C522 microcontroller IP core =) BTW. It's totally okey to write back in German if that is easier for you. I do understand german. Thanks for your help, /Pascal