We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i am trying to save data in external memory using movx in external memory in the serial interrupt service routine but no data gets saved though when i try storing in data it stores.can i know why and suggest a solution if possible for storing in external memory.enabling the XRAM is done using ALE.Thanks in advance
if you set the ISR baudrate to 42.73kbps can you have data stored in xdata faster than idata if idata does not use DPTR with the ISR switched in bank2? i have not tried at 47.32bps but can you do ISR swicth at half code in bank1?
Why did you post that with the 'pre' tags? They are for source code - not text.
All instruction timings for the standard 8051 architecture are given in Chapter 2 of the so-called "bible" for the 8051:
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
If your particular chip differs, you will have to check the appropriate Data Sheet.
You can work it out from there...
You might also do well to check-out the other chapters, for a complete understanding of the 8051 architecture:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
Please use the 'Preview' button to check your message before pressing 'Post' - that's what it's there for!
Anyhow, the reply I gave to your first attempt still applies - have you checked-out those documents yet?
if you set the ISR baudrate to 42.73kbps can you have data stored in xdata faster than idata if idata does not use DPTR with the ISR switched in bank2? i have not tried at
47.32bps but can you do ISR swicth at half code in bank1?