How can I distinguish between the ML67Q400x and ML67Q500x in my software?
Descriptive Answer:
On the ML67Q400x and the ML67Q500x the Bus Width Control register (BWC) controls the access width to the different memory banks (8 or 16-bit). The BWC on the ML67400x differs slightly from that on the ML67Q500x. This difference is in the IO23BW bits. These bits are not present on the ML67Q500x BWC register. This difference can be used to distinguish between the two chip families in software.
| » | Write 0X2xx to Address 0x78100000 (BWC register). |
| » | If you read back 0X2xx then the device is the 4003/2/1/0. |
| » | If you read back 0X0xx then the device is the 5003/2/1. |
| » | Reset IO23BW bits if necessary. |
