puddlehaven
Member
I'm working with the brand new 28X1 I just received, and I'm having trouble with the background serial input. I can't seem to get the proper value set in the scratch pad memory.
I'm sending serial data to the 28X1 with an 08M. The command on the 08M is
On the 28X1 I'm setting up background receive like this:
The 28X1 generates interrupts, but when I read the data on the 28X1, I'm getting most the value 125, and occasionally the value 253. If I change the 28X1 to receive the data with a SERIN command like this:
I get the expected value 5.
The documentation isn't clear, but it's possible that I need to set the SEROUT command on the 08M to use T2400_4, but when I try that I get nothing at all, no interrupts, no data.
I'm sure someone out there has this simple configuration working, but I couldn't find it searching the forums (although I did find some other fascinating stuff). If you could share your code, or point me to the code in the forums, that would be great.
Chuck
I'm sending serial data to the 28X1 with an 08M. The command on the 08M is
Code:
SEROUT 4, N2400_4, (5)
Code:
HSERSETUP B2400_4, %01
SERINTFLAGS %00100000, %00100000
Code:
SERIN 7,N2400_4,(B0)
The documentation isn't clear, but it's possible that I need to set the SEROUT command on the 08M to use T2400_4, but when I try that I get nothing at all, no interrupts, no data.
I'm sure someone out there has this simple configuration working, but I couldn't find it searching the forums (although I did find some other fascinating stuff). If you could share your code, or point me to the code in the forums, that would be great.
Chuck
Last edited: