We use an infineon c167cs with 16 bit ram+flash and some 8 bit peripherals. The processor has the pins wrl and wrh/bhe. If we choose wrl+wrh to control the 16 bit RAM (bit 7=wrcfg=1 in syscon0), the 8 bit peripherals cannot be written on odd adresses (it seems). Do we have to put in some external logic or is there a configuration trick to use wrl on all adresses in 8 bit windows? I could not find any associated bit in the buscons. thanks klaus
Byte/word writes on a c167cs
Started by ●August 10, 2004
Reply by ●August 11, 20042004-08-11
When writing to 8 bit data bus, WRL is activated for both even and odd address writes. This information can be found in the data sheet. Sauli "klaus hoffmann" <dr.hoffmann.k@t-online.de> wrote in message news:4118FB8B.85195F0@t-online.de...> We use an infineon c167cs with 16 bit ram+flash and some 8 bitperipherals. The> processor has the pins wrl and wrh/bhe. If we choose wrl+wrh to controlthe 16> bit RAM (bit 7=wrcfg=1 in syscon0), the 8 bit peripherals cannot bewritten on> odd adresses (it seems). Do we have to put in some external logic or isthere a> configuration trick to use wrl on all adresses in 8 bit windows? I couldnot> find any associated bit in the buscons. > > thanks > klaus
Reply by ●August 12, 20042004-08-12
Sauli Porttila schrieb:> > When writing to 8 bit data bus, WRL is activated for both even and odd > address writes. This information can be found in the data sheet.Thank you very much. I found the (other) bug in the meantime Klaus> > Sauli > > "klaus hoffmann" <dr.hoffmann.k@t-online.de> wrote in message > news:4118FB8B.85195F0@t-online.de... > > We use an infineon c167cs with 16 bit ram+flash and some 8 bit > peripherals. The > > processor has the pins wrl and wrh/bhe. If we choose wrl+wrh to control > the 16 > > bit RAM (bit 7=wrcfg=1 in syscon0), the 8 bit peripherals cannot be > written on > > odd adresses (it seems). Do we have to put in some external logic or is > there a > > configuration trick to use wrl on all adresses in 8 bit windows? I could > not > > find any associated bit in the buscons. > > > > thanks > > klaus