|
Hi, I am newbie using the nano18/28 and no experience using the nano. I have the following problem. First I was using the nano18 everything was OKAY until I powered it down. It never come back. I switched to an spare nano28. The problem is that It's take about 4 minutes to down load the program. Since I am new using the nano I do not know how long it take to download it. The nano18 was few seconds. It this is normal for the nano28 take about five minutes to download. I am using Studio 2.0.0.15, Windows 7. Also I having problem reading an ADC LTC1293. I tried every mode combination possible and still I can not read it. I wrote a routine to read it with not problems. I like to use the shiftin because it is more faster reading it. Below is the routine I am using to read it.
' routine to read the analog TLV1293 converter. low Clk : low Cs shiftout Din,Clk,0,[ch_0\8] 'Send point to scan pause 10 high Clk : tmp_var = 0 'shiftin Dout,Clk,0,[tmp_var\11] For loop = 0 to 11 pulsout Clk,1 bit_in = IN2 tmp_var= tmp_var*2 tmp_var = tmp_var+bit_in next Regards tauro0221
|