Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Question: Are there any example projects available to access the SFR registers to implement the 8051's I/Os in AN2131QC.
The AN2131 does not implement the 8051's I/O using the SFRs. The AN2131 accesses the Port I/O via direct memory addresses. The Frameworks (under the Utils directory) handles the structure of the SFRs. The dev_io example is appropriate as an example. (Located on the web at www.cypress.com, under the dev kit). For the utilization of the timers, an example project can be found under the USB to serial examples. Refer to the USB to Serial reference design available here. This example contains an unsupported example of USB to serial on using the AN2131, which will show setting the timers up.