Search found 45 matches

by Frida
Mon Feb 22, 2016 9:52 am
Forum: MicroPython pyboard
Topic: CC3000 wifi not coming up after cycling EN low/high
Replies: 1
Views: 3261

Re: CC3000 wifi not coming up after cycling EN low/high

I have a strippet down example. Notice I have put in: a=[('0.0.0.0')] b=tuple(a) EN.low() pyb.udelay(250) while (b == nic.ifconfig()[0:1]): print('...waiting...') pyb.delay(200) At last you only need to set EN.low() at the end, because nic = network.CC3K(SPI, CS, EN, IRQ) will set it high. import ne...
by Frida
Wed Feb 17, 2016 6:52 pm
Forum: General Discussion and Questions
Topic: CC3000 timing
Replies: 0
Views: 2300

CC3000 timing

From micropython/drivers/cc3000/src/ccspi.c I found this slice, as I have the following questions for: __delay_cycles(1200) gives 50 usec at 24MHZ. Should x*=6 not be x*=7, as 24*7= 168? Next, are this driver used with the other cpu's with lower MHZ? If so, then the timing is not correct. STATIC voi...
by Frida
Tue Feb 16, 2016 10:35 pm
Forum: Drivers for External Components
Topic: CC3000 and (ctrl-d)
Replies: 0
Views: 2580

CC3000 and (ctrl-d)

After some playing around with my new PYBv1.1 and my CC3000, I have come up with a workaround for (ctrl-d). Full implemented in cc3000_test3.py Try it out. #cc3000_test1.py SSID='';password='' import network # pyb.LED(1).on() nic = network.CC3K(pyb.SPI(2), pyb.Pin.board.Y5, pyb.Pin.board.Y4, pyb.Pin...
by Frida
Tue Feb 16, 2016 9:22 pm
Forum: General Discussion and Questions
Topic: Download of file with ctrl-E
Replies: 2
Views: 2929

Re: Download of file with ctrl-E

I am using GtkTerm with 9600-8-N-1 and End of line delay(milliseconds): of 30
I have before downloaded files of up to 17k to forth without problems.
But now I know it, I can live with it.
by Frida
Sat Feb 13, 2016 2:28 pm
Forum: General Discussion and Questions
Topic: Download of file with ctrl-E
Replies: 2
Views: 2929

Download of file with ctrl-E

Is there any limit on the number of characters that can be downloaded with ctrl-E. When I hit 961 characters, there are not downloaded more on PYBv1.1