SPI and COM

Started by phuo...@yahoo.com in BasicX11 years ago

I have a issue in using of COM1, COM3 and Pulseout. So, I intend to use SPI to receive data from other source. Is it possible to use SPI of BX24...

I have a issue in using of COM1, COM3 and Pulseout. So, I intend to use SPI to receive data from other source. Is it possible to use SPI of BX24 as a COM port. how can we setup for SPI so that it will behaves as the COM3 (Call DefineCom3(ReceiPin, SendPin, bx0000_1000) Thank you in advance for suggestion, Pthien ------------------------------------


SPI Communications

Started by rickpres22 in BasicX15 years ago 14 replies

Are there any application notes around showing how to use the SPI communication commands on the BX-24. I am thinking about interfacing an...

Are there any application notes around showing how to use the SPI communication commands on the BX-24. I am thinking about interfacing an Analog Devices AD5235 digital potentiometer, which uses SPI communications, and was wondering how complicated that would be.


SPI versus I2C

Started by David Sousa Mendes in BasicX13 years ago 1 reply

Hello fellows Even though a bit out of context: I'm finding some difficulties with learning the SPI protocol... Some of my basic questions: 1-...

Hello fellows Even though a bit out of context: I'm finding some difficulties with learning the SPI protocol... Some of my basic questions: 1- Did any of you set two machines talking via SPI? 2- What are the differences/ ressemblances with I2C? 3- Why must the commands be sent in hexadecimal?! It's so NOT practical... 4 - Any sites/pdf with easy to understand tricks and first steps? 5- The...


newbie:help using BX24's SPI

Started by Anand Ramaswamy in BasicX16 years ago

Hi, I am interested in wiring up an 8 bit serial DAC(MAX510BCPE) to my BX 24 using the SPI header pinout.I would like to output...

Hi, I am interested in wiring up an 8 bit serial DAC(MAX510BCPE) to my BX 24 using the SPI header pinout.I would like to output a voltage of 5V. I would like to know how to test the DAC - what kind of code do I need to write, how to wire up the DAC to the BX 24 SPI and a


SPI Interface

Started by tombhandley in BasicX15 years ago 2 replies

Does anyone know of any SPI examples, other than Peter Anderson's (you have to buy his products to access the examples)? ...

Does anyone know of any SPI examples, other than Peter Anderson's (you have to buy his products to access the examples)? I've designed with SPI with a variety of uPs (PICs, etc) for years but I'm having trouble with the BX-24 interface. I can easily bit- bang routines


MMC card using SPI on BX-24

Started by arhodes19044 in BasicX14 years ago 10 replies

Has anyone used a MMC card on a BX-24? I am trying to do it. I have found that I can not use the built-in SPI functions because I need...

Has anyone used a MMC card on a BX-24? I am trying to do it. I have found that I can not use the built-in SPI functions because I need to keep the Card-Select selected over a bunch of transfers, and when the CS is deselected, apparently the transaction in progress is lost. So, I used Tom Handy's bit-banged SPI routines. THANKS TOM! and I


Has anyone used a Ramtron SPI FRAM?

Started by impulsum in BasicX13 years ago 4 replies

I'm looking to increase the amount of RAM that my LCDX has so I can receive RS232 messages as large as 4K (Since the BasicX only has 400 bytes...

I'm looking to increase the amount of RAM that my LCDX has so I can receive RS232 messages as large as 4K (Since the BasicX only has 400 bytes of RAM, this is a problem). The only way I can think to do this is to use a Ramtron FRAM device with a SPI interface (FM25640). I want to recieve the data from the COM port's input queue and transfere it through the SPI line to the FRAME and then...


BX24 SPI CE

Started by geekfarmer in BasicX7 years ago 1 reply

I am new to SPI and am trying to connect a BX24 to a DS1305 RTC and am having trouble getting the CE to function active high. If I understand SPI...

I am new to SPI and am trying to connect a BX24 to a DS1305 RTC and am having trouble getting the CE to function active high. If I understand SPI on the BX24 correctly to configure the CE to be active high bit 4 of the configuration word should be 0. I have tryed 0 and 1 but the CE is always active low. Below is my code. What am I missing? Thanks. ublic Sub Main() 'Option Explicit 'Funct...


SPI interface

Started by Anand Ramaswamy in BasicX16 years ago

Hi, I am interested in wiring up an 8 bit serial DAC to my BX 24.I would like to know how to use the SPi interface on the BX-24...

Hi, I am interested in wiring up an 8 bit serial DAC to my BX 24.I would like to know how to use the SPi interface on the BX-24 (how to hook it up and what kind of code do i need to talk to the device). Thanks __________________________________


BX01 SPI BUS

Started by adriaanswan in BasicX14 years ago 2 replies

Hi, Does anyone know how I would go about connecting another device to the SPI bus on the BX01. I have found source code for using the second...

Hi, Does anyone know how I would go about connecting another device to the SPI bus on the BX01. I have found source code for using the second device in this group but no information on connecting it. I want to connect this magnetometer http://www.sparkfun.com/commerce/product_info.php?products_id=244


DS1302 uses Synchronous Serial I/O.

Started by djmaratt in BasicX15 years ago 2 replies

DS1302 uses Synchronous Serial I/O. So it cannot be directly connected to the SPI Bus, but there is a way to connect it to SPI ...

DS1302 uses Synchronous Serial I/O. So it cannot be directly connected to the SPI Bus, but there is a way to connect it to SPI using Tristate buffers. I found a Bit Banging example of DS1302 interfacing among the files and was able to get it working. I


How do I connect DS1302 to the SPI Bus of BX24

Started by djmaratt in BasicX15 years ago 2 replies

Dear friends, Can someone please help me? I searched a lot but I cannot seem to find wiring details for connecting...

Dear friends, Can someone please help me? I searched a lot but I cannot seem to find wiring details for connecting DS1302 to the BX24 SPI BUS. I do have DS1302 data sheet that shows its pin functions but I am at a loss when it comes to connecting (


SPI bus length?

Started by Tom Becker in BasicX14 years ago 1 reply

I have a dilemma: I need a fast compass in a complex motorized device but the motor magnets (which move within the project as the project...

I have a dilemma: I need a fast compass in a complex motorized device but the motor magnets (which move within the project as the project moves over Earth) disturb the compass in a complex manner that would, I expect, be very difficult to correct. I plan on mounting the compass on an arm that would remove it from the motors. The CMPS03 uses I2C; the V2Xe uses SPI. It appears that I2C ...


CrystalFontz LCD Displays & SPI

Started by Bookwalter, Dan in BasicX14 years ago

Anyone interface to a CrystalFontz 634 LCD Display via SPI ??? Thanks Dan Bookwalter N8DCJ FOC 1707 Hi-Stat a Stoneridge Co. ...

Anyone interface to a CrystalFontz 634 LCD Display via SPI ??? Thanks Dan Bookwalter N8DCJ FOC 1707 Hi-Stat a Stoneridge Co. 345 South Mill St. Lexington, Ohio 44904 (419) 884-1219 Phone (419) 884-4172 Direct (419) 884-4196 Fax Dan.Bookwalter@Dan.... This electronic mail transmissio


pulse counter

Started by David Sousa Mendes in BasicX9 years ago

Hello fellows A bit of-topic: I'm looking for a IC capable of counting pulses... Ideally with an I2C/SPI interface... Any...

Hello fellows A bit of-topic: I'm looking for a IC capable of counting pulses... Ideally with an I2C/SPI interface... Any suggestions? Cheers Regards David ------------------------------------


SCLK idle

Started by pjc309430 in BasicX14 years ago 3 replies

Has anyone found the BX24 HW SPI clock not being able to idle high, even if SetupByte.3 is set in OpenSPI?

Has anyone found the BX24 HW SPI clock not being able to idle high, even if SetupByte.3 is set in OpenSPI?


Interfacing SPI EEPROM Question

Started by b2orodman in BasicX16 years ago 4 replies

I am a graduate student in Civil Engineering at the University of Illinois and do not claim to know how to program or wire ...

I am a graduate student in Civil Engineering at the University of Illinois and do not claim to know how to program or wire electronics. Since we are required to do both on our own, I must suffer through it. What I am attempting to do is improve on an already coded multiplexer whi


RAMsandwich

Started by jay_n_vt in BasicX15 years ago 18 replies

I may be the only one still using the BX01.. but I have board that has two serial ports, and 32 I/O's (using 74hc589's based on Edwin Cini's ...

I may be the only one still using the BX01.. but I have board that has two serial ports, and 32 I/O's (using 74hc589's based on Edwin Cini's design) with CD74HC4050's as I/O shifter/buffers using the SPI interface. I also included a 40 pin socket to be able to use the RAMsandwich from BASICX. Reading the forum.. I found that v2.1 of the compiler doesn't set BIT 3


Expansion pins

Started by Tom Becker in BasicX14 years ago 10 replies

FWIW, a set of pins for the SPI header (J1, the seven through-holes at the top of the BX-24 module) and Pins 25, 26 and 27 (at the bottom) ...

FWIW, a set of pins for the SPI header (J1, the seven through-holes at the top of the BX-24 module) and Pins 25, 26 and 27 (at the bottom) can come from any new TO-220 device, like a TIP31 transistor. One might presume that's an expensive source but, at US$0.39 for three pins, it really isn't all that bad. They make nice flat pins. Tom


Parallax Hitachi H48c Accelerometer

Started by kuhns_casey in BasicX13 years ago

Hello all, I have been working for some time now on interfacing this accelerometer to the basicX-24. It is giving me real troubles. They...

Hello all, I have been working for some time now on interfacing this accelerometer to the basicX-24. It is giving me real troubles. They show the source code in Pbasic and they simply use shift commands. I wish I coudl do the same but I need 12 bits. I looked up all the indivudual chips and it uses SPI protocol I am assuming. what puzzles me though is it uses one pin instead of 2 fo...