This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Troubles with memory paging with 8051

Hi everybody !!!

I've got a problem with my Nordic nRF24E1. It's a powerful transceiver with an integrated 8051 microcontroller (Dallas DS80C320).
It has only 4KBytes of internal program memory. The trouble is that I've a program of 16KBytes located in an external EEPROM of 32Kbytes.I think that my sole solution is memory paging.
But I don't know how to switch between pages and I don't know when I must do it.

Does anyone know techniques for memory paging with 8051 ?
If you have another solution than memory paging, I'm very interested...
Thanks

Regards
Corentin Briat

Parents
  • Yeah, I really need banking because I've a SPI EEPROM and a SPI transceiver connected on the same SPI bus.
    I must send data from the ADC to the receiver every 5ms, that's a very short time.
    When I transmit/receive data (to/from the transceiver), I can't switch the MCU to the EEPROM. So, the code, which manages the capture process, must be entirely in internal program memory.
    That's why I have to know how
    - to arrange the code in internal memory to avoid switching pages during a critical phase (like capture phase).
    - to foresee the switching period in order to manage the SPI bus.

    I hope the problem is more precise now.
    Thanks.

Reply
  • Yeah, I really need banking because I've a SPI EEPROM and a SPI transceiver connected on the same SPI bus.
    I must send data from the ADC to the receiver every 5ms, that's a very short time.
    When I transmit/receive data (to/from the transceiver), I can't switch the MCU to the EEPROM. So, the code, which manages the capture process, must be entirely in internal program memory.
    That's why I have to know how
    - to arrange the code in internal memory to avoid switching pages during a critical phase (like capture phase).
    - to foresee the switching period in order to manage the SPI bus.

    I hope the problem is more precise now.
    Thanks.

Children