Hi folks,
I have been dabbling in programming of the new 20M2 and have run into a problem with the SERIN function.
Sending a byte from a 40X2 chip is not read correctly by the 20M2.
The data is sent as N2400 with no qualifiers.
If the data byte is $01, the 20M2 interprets it as $F0. (read via debug)
$55 sent becomes $F0, $AA = $FF.
I tried dropping the baudrate to N600, but same result.
The 40X2 is transmitting correct data - I checked it with a 28X2, and that worked OK.
I also checked the signal with a CRO - it is correct.
I thought that maybe as the 20M2 has an internal resonator it may be sufficiently <>4mHz to affect the SERIN.
However, if that was the case I would expect some random values to result.
Is there something about SERIN on this chip that I'm not aware of?
Does anyone have any clue to what is happening here?
kenmac
I have been dabbling in programming of the new 20M2 and have run into a problem with the SERIN function.
Sending a byte from a 40X2 chip is not read correctly by the 20M2.
The data is sent as N2400 with no qualifiers.
If the data byte is $01, the 20M2 interprets it as $F0. (read via debug)
$55 sent becomes $F0, $AA = $FF.
I tried dropping the baudrate to N600, but same result.
The 40X2 is transmitting correct data - I checked it with a 28X2, and that worked OK.
I also checked the signal with a CRO - it is correct.
I thought that maybe as the 20M2 has an internal resonator it may be sufficiently <>4mHz to affect the SERIN.
However, if that was the case I would expect some random values to result.
Is there something about SERIN on this chip that I'm not aware of?
Does anyone have any clue to what is happening here?
kenmac