Interfacing SPI EEPROM Question

Started by b2orodman in BasicX14 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 BasicX13 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 BasicX13 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 BasicX12 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...


Re: SPI or Serial with BX-24 as slave device

Started by maxvtol in BasicX11 years ago 2 replies

Thanks for all your help, Tom. This is looking promising. At least I'm getting more meaningful data from the mite. How does 65 relate to A?...

Thanks for all your help, Tom. This is looking promising. At least I'm getting more meaningful data from the mite. How does 65 relate to A? If string works, shouldn't numbers? Since my variable PulseTrain is already an array from using InputCapture, please tell me I don't have to convert it to string or something else to send? This is the results from the mite. The mite is simply dr...


RTC Chip

Started by p_dubinsky in BasicX14 years ago 6 replies

Does anyone know of a serial interface (SPI, i-Wire, etc), real time clock chip that returns milliseconds? I don't need date but I...

Does anyone know of a serial interface (SPI, i-Wire, etc), real time clock chip that returns milliseconds? I don't need date but I do need fractional seconds, ideally milliseconds. TIA, Paul


Sound generator IC

Started by Drew in BasicX15 years ago

Is there such a thing as a simple sound generator IC with an SPI or I2C interface? In the days before microcontrollers these were...

Is there such a thing as a simple sound generator IC with an SPI or I2C interface? In the days before microcontrollers these were pretty common, but I guess they're dinosaurs now. Heres what I need to do: 1. Be able to generate a continous tone while varying the freq


Tutorial?

Started by Mike Anderson in BasicX15 years ago

Can anyone point me to a tutorial or article of some kind that will teach me the differences between SPI, I2C, 1-Wire, 3-Wire and...

Can anyone point me to a tutorial or article of some kind that will teach me the differences between SPI, I2C, 1-Wire, 3-Wire and all the other "modern" communications methods available today? Any and all help is appreciated! Mike


Re: Ramtron FRAM?

Started by tombhandley in BasicX13 years ago

Mike (and Tom) thanks. I first looked at the photos. What I had forgot was that you can define the CS via SPICmd(). I had so much ...

Mike (and Tom) thanks. I first looked at the photos. What I had forgot was that you can define the CS via SPICmd(). I had so much trouble with that trying to interface a PNI V2Xe compass, I ended up writing a Bit-Banged SPI module using the extra LED and OutputCapture (pins). It turned out the PNI compass is real sensitive with timing since it's also do


MIDI on a BX-35

Started by Justin in BasicX13 years ago 8 replies

I'm trying to make a drum trigger to MIDI converter with a BX-35. In order to communicate at MIDI's baud rate of 31,250 I was thinking ...

I'm trying to make a drum trigger to MIDI converter with a BX-35. In order to communicate at MIDI's baud rate of 31,250 I was thinking about either using the normal 7.3728Mhz crystal on the BX-35 and using a MAX3100 with a 4Mhz crystal or something close to communicate. But I've read that using SPI can cause a lot of problems. Would it be easier to simplify thing


Using non-Atmel EEPROM with BasicX 35

Started by flyerx_2000 in BasicX13 years ago 4 replies

Hello, I wanted to use an Atmel 25256 EEPROM with a BasicX 35. Unfortunately according to Mouser this chip has been discontinued (both...

Hello, I wanted to use an Atmel 25256 EEPROM with a BasicX 35. Unfortunately according to Mouser this chip has been discontinued (both voltage variants). They recommended the ST M95256. It is SPI with 32K and seems pin compatible. Has anyone here used a non-Atmel EEPROM? I would suspect they are fairly standard and should be interchangeable but I wan


Serial EEPROM Verify Error

Started by ewolfrum01 in BasicX15 years ago 1 reply

I have recently been experimenting with the SPI features of my BX-24, and have run into the "Verifying external EEPROM Failure"...

I have recently been experimenting with the SPI features of my BX-24, and have run into the "Verifying external EEPROM Failure" problem I have seen mentioned on this group. I hope my experience is enlightening. At one point during my development process my project


AD7490 interface

Started by Patrick in BasicX10 years ago 7 replies

Has anyone worked with AD7490, 16-channel 12bit AtoD converter and BasicX? It's got SPI interface so it must be possible to use with BasicX,...

Has anyone worked with AD7490, 16-channel 12bit AtoD converter and BasicX? It's got SPI interface so it must be possible to use with BasicX, correct? The whole reason why this even came up is my need for more than 8 channel A/D that are built-in on BasicX. I need a total of 16 channels and in the previous project I ended up using 2 BasicXs and that wasn't the best solution. Ideally havin...


FRAM Write Protect

Started by Tom Becker in BasicX12 years ago

FRAM users, beware. It is possible to lock yourself out of the device, requiring hardware intervention to recover. Somehow, I assume during...

FRAM users, beware. It is possible to lock yourself out of the device, requiring hardware intervention to recover. Somehow, I assume during an SPI crash, bits BP0 and BP1 in the Write Status Register of an FM25640 were set. I never intended to use write protection so I gave it no thought and installed the part with the /WP pin grounded, understanding that it made no difference. And i


MAX 6675

Started by Mikael Karstikko in BasicX13 years ago 5 replies

Hello ! Has anyone used the MAX 6675 K-Type thermocouple A/D chip with BX-24 ?? Is this hook-up correct ? no need to invert the CS...

Hello ! Has anyone used the MAX 6675 K-Type thermocouple A/D chip with BX-24 ?? Is this hook-up correct ? no need to invert the CS line ? MAX6675 BX-24 SO ---------- MISO (hole 6) SCK --------- SCK (hole 7) -CS- -------- CS (hole 4) If anyone has knowledge of this SPI bus , please help me with the code ! Sample code would be


LCDX backlight flicker during I/O

Started by jstjohnz in BasicX13 years ago 2 replies

Hello, This is my first experience with BasicX. I am using the LCDX, essentially a BasicX-35 coupled to a 4x20 LCD. This unit has a 4x4 ...

Hello, This is my first experience with BasicX. I am using the LCDX, essentially a BasicX-35 coupled to a 4x20 LCD. This unit has a 4x4 keypad interface, 8 analog inputs, and 8 built-in relay drivers, driven from a chip that interfaces to the BasicX with SPI. Whenever I do a "relayout" command to control a relay bit I get a momentary


Re: ISD4004 please help me !

Started by eser...@ in BasicX14 years ago 4 replies

Zivkovic, ISD "sound" chips present many technical challenges. They are tough to work with, but rewarding when you get them to...

Zivkovic, ISD "sound" chips present many technical challenges. They are tough to work with, but rewarding when you get them to work. The ISD4004 series are intended to interface to a micro-controller via "SPI" Serial Peripheral Interface protocol (by Motorola). National's pr


SPIcmd and how BX24 fetch program instructions

Started by Olle Bengtsson in BasicX9 years ago

Hi I have not been able to figure any good explanation of how BX can avoid getting the program instructions cluttred when the SPI bus is used....

Hi I have not been able to figure any good explanation of how BX can avoid getting the program instructions cluttred when the SPI bus is used. BX24 is fetching these intructions on the same bus to the EEPROM as is used to communicate with other devices with SPIcmd. I guess that when BX need to fetch a program instruction it use another channel than what is possible to use for external SP...


Encoder (quadrature) IC w/SPIi intreface

Started by Stephane Richard in BasicX11 years ago 1 reply

Hi Does any body knows about a small encoder (quadrature) to spi interface ? to connect directly between the encoder and the BasicX ? I'm...

Hi Does any body knows about a small encoder (quadrature) to spi interface ? to connect directly between the encoder and the BasicX ? I'm trying to make a small servo system using the BasicX as my "servo" but I would like to find a IC to use as the encoder monitor to "unload" the BasicX get an outside IC to track the position in real-time. Independent from the BasicX. Any Ideas ? ...


suggest connectors for LCDX?

Started by donnpenny in BasicX7 years ago 1 reply

I recently purchased the LCDX with Development Kit. Would someone suggest a 4 pin connector with attached wires for the Analog 6, 7, 8 Inputs...

I recently purchased the LCDX with Development Kit. Would someone suggest a 4 pin connector with attached wires for the Analog 6, 7, 8 Inputs and Gnd? Also a 16 pin connector with attached wires for the Keypad Inputs and SPI Interface? Thank you. ------------------------------------