Datalogger IO Issue
Posted: Mon May 15, 2017 4:31 am
I have an issue with many of the outputs
on a new DataLogger not working. Not sure if I
have a bad board (2nd board was DOA) or if it's
a bug. I have successfully used many Coridium
products over the years, only had one bad chip
and found one bug (fixed in a day).
Is it a bad board, a bug, or am I having a senior moment?
Thanks.
Setup: DataLogger (new), Dongle, USB cable, Laptop, Scope
ARMBasic 9.36k, BASICtools 5.56
A test program is provided below:
' TEST - DataLogger Board
' Square Wave at Outputs
'
'The following is a simplified test prog to test
' some of the IO on a DataLogger Board
#include <LPC43xx>' --> pre-processor error
' works the same without the "#include"
FOR I = 1 TO 100000
IO(0)=1 'Works fine as Ref Sig: J1-3; P0_0
IO(122)=1 'J16-2; P7_5 -->Dead
IO(172)=1 'J4-10; P4_8 -->Dead
IO(173)=1 'J2-6; P4_9 -->Dead
IO(174)=1 'J3-1; P4_10 -->Dead
IO(175)=1 'J1-12; P6_7 -->Dead
IO(176)=1 'J5-10; P6_8 -->Dead
WAIT (1)
IO(0)=0
IO(122)=0
IO(172)=0
IO(173)=0
IO(174)=0
IO(175)=0
IO(176)=0
WAIT (1)
NEXT I
END
'Other bits that don't work as outputs:
' 162/P2_2; 163/P2_3; 164/P2_4; 165/P2_5;
' 166/P2_6; 167/P2_8; 168/P3_1; 169/P3_2;
' 178/P9_5 [Port 9; P9_6, IO(139) works fine]
on a new DataLogger not working. Not sure if I
have a bad board (2nd board was DOA) or if it's
a bug. I have successfully used many Coridium
products over the years, only had one bad chip
and found one bug (fixed in a day).
Is it a bad board, a bug, or am I having a senior moment?
Thanks.
Setup: DataLogger (new), Dongle, USB cable, Laptop, Scope
ARMBasic 9.36k, BASICtools 5.56
A test program is provided below:
' TEST - DataLogger Board
' Square Wave at Outputs
'
'The following is a simplified test prog to test
' some of the IO on a DataLogger Board
#include <LPC43xx>' --> pre-processor error
' works the same without the "#include"
FOR I = 1 TO 100000
IO(0)=1 'Works fine as Ref Sig: J1-3; P0_0
IO(122)=1 'J16-2; P7_5 -->Dead
IO(172)=1 'J4-10; P4_8 -->Dead
IO(173)=1 'J2-6; P4_9 -->Dead
IO(174)=1 'J3-1; P4_10 -->Dead
IO(175)=1 'J1-12; P6_7 -->Dead
IO(176)=1 'J5-10; P6_8 -->Dead
WAIT (1)
IO(0)=0
IO(122)=0
IO(172)=0
IO(173)=0
IO(174)=0
IO(175)=0
IO(176)=0
WAIT (1)
NEXT I
END
'Other bits that don't work as outputs:
' 162/P2_2; 163/P2_3; 164/P2_4; 165/P2_5;
' 166/P2_6; 167/P2_8; 168/P3_1; 169/P3_2;
' 178/P9_5 [Port 9; P9_6, IO(139) works fine]