Access odd memory locations without hardware

Posted on Jul 29, 2012

Some RISC controllers, like the NEC V850 family, use an internal 32-bit architecture with an external 16-bit bus. The architecture also allows interfaces with 8-bit memories. However, with 8-bit memories, accesses to and from odd locations automatically access the higher-order byte. Thus, you would need external transceivers to access both even and odd locations. However, you can `trick` the processor and thereby save the space and cost associated with the external transceivers. Like everything else in life, the method doesn`t come freethe price you pay is execution time.

The idea (Figure 1) is fairly simple: Connect the memory data bus to the least-significant bit (D0 to D7) of the µC. Then, connect the memory-address bus to the µC without using A0, so that the memory never sees an odd address. Thus, addressing the

Leave Comment

characters left:

New Circuits



Popular Circuits

5volt power supply
Transistorized flashers
Long-Duration Time Delay
Outdoor Light Controller Circuit
10 Step Baby Gate Sequencer CD4017
Gentle Breeze
PS/2 Keyboard IR Receiver
RXTX V6.3 TX Mixer
Notch Filter
Circuit Power audio Amplifier with TDA2030 2.1 Chanell 3 x 18 Watts Subwoofer Complete With PCB suggestion and power supply
Integrated operational amplifier drives the power amplifier OCL
NOT circuit
Blackout emergency lights circuit 2