SPI and COM

Started by phuo...@yahoo.com in BasicX9 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 BasicX12 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 BasicX10 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 BasicX14 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 BasicX13 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 BasicX12 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


SPI communication between BX-24 and QT300 Capacitance converter

Started by stoifan.geo in BasicX14 years ago 1 reply

We have problems reading data from the QT300 to our BX24 over SPI. We have the following setup: pin BX24 pin QT300 12...

We have problems reading data from the QT300 to our BX24 over SPI. We have the following setup: pin BX24 pin QT300 12 /DRDY 1 /DRDY SPI SCK 2 SCK 11 /REQ 6 /REQ SPI MISO 7 SDO The QT300 have a Max clock rate of 40kHz and data length of 2 bytes.


Has anyone used a Ramtron SPI FRAM?

Started by impulsum in BasicX11 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 BasicX5 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 communications

Started by Christian Wentz in BasicX14 years ago

I just wanted to check something: The system library docs for the bx-24 state that there are 4 SPI channels to use..does this...

I just wanted to check something: The system library docs for the bx-24 state that there are 4 SPI channels to use..does this exclude the channel used for the 32k external EEPROM chip? Christian _________________________________________________________________


SPI interface

Started by Anand Ramaswamy in BasicX14 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 __________________________________


TTL Comm vs SPI

Started by p_dubinsky in BasicX14 years ago

Howdy, Folks, First I have no experience using SPI which is why I'm asking this question. I have an app the sends serial...

Howdy, Folks, First I have no experience using SPI which is why I'm asking this question. I have an app the sends serial messages (Tx only - no Rx) out a BX24 pin to another device using the usual COM3 implementation at 19.2k baud. The app spends a substantial amo


SPI simple explanation

Started by David E. Basile in BasicX14 years ago

I was thinking of trying a project using SPI but after looking on the net for info about it I was hoping someone might be able to...

I was thinking of trying a project using SPI but after looking on the net for info about it I was hoping someone might be able to clarifiy something. The way I understand it in a nutshell is you have a master and slave(s). The master sends out a command to a slave telling the slave


BX01 SPI BUS

Started by adriaanswan in BasicX12 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 BasicX13 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 BasicX13 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 BasicX11 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 BasicX12 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 BasicX7 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 BasicX12 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?