hi all
i am not good at English , i hope you understand
i used MPC8248 without problems for years
this time, my board need to interface with a little endian board by external bus
before my board interfaced with a powerpc family board, so no problems in endian
it isn't possible to modify software so my thought is to use tsize signal to find 8bit and 16bit access, if access cycle is 16bit and i plan to use byte-swap in hardware
only byte and half word access are used in software and they are aligned
but when i checked tsize2,3 it dosen't work in the way i thought
in linux, with mmapping /dev/mem i tried byte access but tsize2( means 16bit access) worked,
i captured the signals with scope, all signals are active low from CPLD
i accessed a bus 4 times by byte-read but one 16bit bus occurred
how does the tsize signal work ? any information will be of great help
thank you sinerely
Customer can refer to "8.4.3.3 TBST and TSIZ[0:3] Signals and Size of Transfer" in RM.