Search the web
Sign In
New User? Sign Up
basicx · Discussion list for the BasicX family of microcontroller chips
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 23193 - 23224 of 23224   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date v
23224
Hi all I'm using the prolific USB-2-serial converter, called PL2303. Recently installing windows 7 64-bit I installed the latest (3.3.5.122) driver and it seem...
tripleit_dk
Offline Send Email
Nov 30, 2009
1:22 pm
23223
Hello fellows The problem was finnally solved as soon as I called Maxim's support line. According to their Typical Operation Circuit, I had my supply connected...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 13, 2009
2:13 pm
23222
Hi, Suggestion Do a print of the command data to see if your are sending command a good command. Set the clock low before execute the CE high per DS1302...
rosarite@...
tauromayo5
Offline Send Email
Nov 10, 2009
11:11 pm
23221
Do you think I should configure the IO pin as bxInputTristate using Putpin?...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 10, 2009
9:47 pm
23220
I tried want you suggested: instead of MISO and MOSI pins, I'm only using one pin connected to IO pin of DS1302... But the result is the same: "ctrl_reg: 255"...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 10, 2009
9:38 pm
23219
... Then the output pin will hold the input pin low, won't it? Try disconnecting one of the pins and use the same pin for input and output. Tom...
Tom Becker
b19063
Online Now Send Email
Nov 10, 2009
6:05 pm
23218
You can't be far from success. Here is a Cubloc implementation that is close to Basic-X code: http://www.cubloc.com/download/etc/app_ds1302.pdf Tom...
Tom Becker
b19063
Online Now Send Email
Nov 10, 2009
5:59 pm
23217
yes, both pins are connected to IO pin of DS1302...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 10, 2009
5:58 pm
23216
... Are these two pins both connected to the DS1302 I/O pin? Tom...
Tom Becker
b19063
Online Now Send Email
Nov 10, 2009
5:55 pm
23215
Hello Tom, I tried the code that you suggested but with no results... At the moment I'm just trying to read a register where the first 7 bits are forced to...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 10, 2009
5:28 pm
23214
Here is an exploit of the Basic-X register.RTCTick implementation which permits using Timer(), usually limited to a 24-hour period, to measure beyond 46-day ...
Tom Becker
b19063
Online Now Send Email
Nov 10, 2009
12:43 am
23212
... Perfect. I've never used it, but that's what you need if you use ShiftIn/Out. Tom...
Tom Becker
b19063
Online Now Send Email
Nov 5, 2009
11:10 pm
23211
I'll give it a try... Meanwhile I came across the function FlipBits that, apparently reverses the bit order automatically... Have you heard about it? David...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 5, 2009
10:52 pm
23210
Yes, you'll need to control CE via PutPin(). On a quick read of the DS1302 single-byte read/write specs, it looks like you need to raise CE, then write a...
Tom Becker
b19063
Online Now Send Email
Nov 5, 2009
5:36 pm
23209
Unfortunatly my DS1305 did not yet arrive and so I was trying to solve my problem with a DS1302... What is opinion? 1- Is it much hard work than with a SPI...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 5, 2009
4:24 pm
23208
... Ah; you did say 3-wire and, you're right, that's not an SPI interface device. You'd have better success, I think, using ShiftIn() and ShiftOut() with it. ...
Tom Becker
b19063
Online Now Send Email
Nov 5, 2009
3:50 pm
23207
No, sorry, the CORRECT part number is maxim's DS1302: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2685 David M....
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 5, 2009
12:40 pm
23206
... Are we looking at the same part? The Maxim Max1302 shows Din, Dout, SClk, and /CS. http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4746 Tom...
Tom Becker
b19063
Online Now Send Email
Nov 5, 2009
11:51 am
23205
But on the max1302 side I only have the following pins for communication: SCLK, I/O and CE What should I connect to I/O? Both MISO and MOSI? Without external ...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 5, 2009
10:27 am
23204
... 2 - Should I still use OpenSPI and SPICmd commands? If, by "3-wire protocol" you mean SPI, if you are currently successful with the max146, I see no reason...
Tom Becker
b19063
Online Now Send Email
Nov 4, 2009
5:50 pm
23203
Thanx, Tom! My next step is to try to configure the BX to communicate with max1302 via 3-wire protocol... 1 - What should I change on my pin configuration on...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 4, 2009
4:29 pm
23202
... OpenSPI will configure the /CS pin high. Its state before that should be either untouched (since a processor Reset sets all pins to InputTristate) or, if...
Tom Becker
b19063
Online Now Send Email
Nov 3, 2009
8:29 pm
23200
And yet another question: In my code: Call SPICmd(1,1,sent_bytes(1),1,received_bytes(1)) Call SPICmd(1,1,sent_bytes(2),1,received_bytes(2)) Call...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 3, 2009
4:33 pm
23199
Hello Eventough it still needs some tunning, I'm being able to receive valuable data from the max146... One question: how should the CS pin be configured?...
David Sousa Mendes
davidsousame...
Offline Send Email
Nov 3, 2009
3:40 pm
23198
Looking quickly, I don't see an obvious problem. I posted a simple two-transistor SPI loopback drawing (actually, a tristate non-inverting buffer, enabled by...
Tom Becker
b19063
Online Now Send Email
Oct 30, 2009
6:32 pm
23197
Sorry, Tom, didn't give you all the code to make it simpler... here goes: Option Explicit public Channel As Byte Public Sub Main() call abre_spi() call...
David Sousa Mendes
davidsousame...
Offline Send Email
Oct 30, 2009
5:09 pm
23196
No OpenSPI()? The specified /CS pin will be automatically configured by it. Tom...
Tom Becker
b19063
Online Now Send Email
Oct 30, 2009
4:53 pm
23195
Tom, problems that have been solved so far: 1- Bx does not stuck anymore while downloading (since I put the pullup resistor in CS pin) 2 - BX's CS is active...
David Sousa Mendes
davidsousame...
Offline Send Email
Oct 30, 2009
4:18 pm
23194
Patrick, USB requires a stack and other software and each device has a unique identifier. So unless someone has written some code to handle it I think you...
Harry J. White
hwhite41
Offline Send Email
Oct 29, 2009
7:42 pm
23193
... the voltage divider on the colector side... As it happens, I am just finishing a battery state-of-charge monitoring and switching device. I've found that...
Tom Becker
b19063
Online Now Send Email
Oct 29, 2009
4:37 pm
Messages 23193 - 23224 of 23224   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help