hello, I have used NRF52810 TWIM for 24LC08 communication, and I got a problem.
when I want to read data from 24LC08, if the length is not lager than 255, every thing is ok. but if the length is larger than 255, the data reading is abnormal.
then I have checked the datasheet of NRF52810 and 24LC08, and I do not find information about the limit of reading length.
although I can resolve the problem through software, I want to know the reason.
is there some limit of hardware for TWIM reading?
the code of TWIM reading is as follows, please help me to find if there is some problems:
thank you very much! best regards!
Are you testing on a nRF52832? The reason I ask is that the RXD.MAXCNT register for the nRF528332 is 8 bit (maximum value 0xFF), whereas it is 10 bit for the nRF52810 (maximum value 0x3FF).
I do not have NRF52832 for testing, and I only have NRF52810 board.
I have checked that the MCU selected is NRF52810, and is it meaning that it has nothing to do with NRF52832?
I know the RXD.MAXCNT for NRF52810 is 10 bit, but the reason is I cannot read data exceed 255, I do not know the reason. can you give me some suggestions?