Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC 16F687 strange situation with Max3100

Status
Not open for further replies.

southafrikanse

Junior Member level 1
Joined
Jun 12, 2007
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Amora, Portugal
Activity points
1,418
16f687 pic

Greetings.

I'm interfacing a Max3100 with a XBee module, a Bluetooth Module and a PIC (16F687). From the XBee to the Max3100 I send the correct data. But, from the Max to the PIC there's a problem.

I'm writing data (2 Bytes, 1 Byte at a time) to the PIC from the Max3100 via SPI. However, in the first trasmission I receive the data correctly and in the second transmission I get a "1" before receiving the last 7 bits.

I've tried adding a delay between each function and I am still unable to figure out where the problem actually is.

Any help is welcomed.

Added after 3 hours 3 minutes:

Well, I've finally figured it out and it's now working.

The problem was in the UART configuration and not the SPI itself.

Thanks any way
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top