Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-26-2019, 12:27 PM   #1
Solid State Member
 
Join Date: May 2017
Location: Uk
Posts: 10
Default Micro controller peripheral intermittent error?

Hi,
I have a program (Oshonsoft BASIC) on an 18F4620 PIC, with an AK8963C Compass module attached, that has started giving random errors.

The PCB has 2x different PICs, 4x different peripherals using SPI and a GPS using UART plus a couple more bits.

The AK8963C (Compass chip from an Iphone5) (There are 5x of them) is on it's own breakout board,and has worked while testing for a year or so without trouble.

After adding all of the peripheral programs into one program, the AK8963C started erroring.

I've been on another forum, with Oshonsoft experts, plus programming help and electronic ideas.

My question here is a general one. What kind of thing may cause this type of error? What tests would be made to isolate it?

I hope someone can help

Cheers, Camerart.
__________________

__________________
camerart is offline   Reply With Quote
Old 11-01-2019, 12:26 PM   #2
Solid State Member
 
Join Date: May 2017
Location: Uk
Posts: 10
Default Re: Micro controller peripheral intermittent error?

Hi,
No answer?
Is there a reason?


Has anyone else had problems with PIC peripherals?
C
__________________

__________________
camerart is offline   Reply With Quote
Old 11-03-2019, 06:02 PM   #3
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,106
Default Re: Micro controller peripheral intermittent error?

How are you communicating with the compas chip? (Sip?)

And what errors are you getting?

Do you have any tools like a logic analyser or "bus pirate" that you can use to see if the error is in the output of the compass chip or in the receiving by the pic? (Can you confirm that the pic is getting good data?)
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
×