|
Hi All,
I posted earlier that I was having Fun and doing the stuff I spent too long at Uni for all was right with world. Well I shouldn't have been so happy... The thing I'm working on has I2C issues....
|
|
|
|
|
You're lucky. If it had daddy issues you would be broke to pay for the psychologist. Those people cost way too much.
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
glennPattonWorking wrote: The thing I'm working on has I2C issues.... You already mentioned that when you still were happy. Now, how hard can it be to oscillate on a single serial line (if I remember right) and take a look at the signal?
Edit: You must oscillate on two signals, the data signal and the clock. It's a synchronous serial protocol.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
The problem is the thing is getting data (?) and not outputting it to the SCA line?
|
|
|
|
|
Check the line colour: is it red? If so, it's simply SCAred and needs a nice quiet chat and a cup of tea to calm it down.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
The signal looks good? No noise or anything apparent? Maybe one of the two inputs is fried. Is the IC in a socket, so that you can easily try it with another one?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Quote: Is the IC in a socket, no such luck, surface mount BGA!
|
|
|
|
|
Can you upload your own firmware? Then you can hack yourself into the interrupt routine that is supposed to receive the wake up command. And you will need some kind of I/O, like an LED on an output pin, which you can use to signal that the interrupt has fired.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
You can't really tell whether or not your slave is "getting" anything. All you can do is check whether or not the signal you send is OK (a Picoscope or similar can help a lot). If the master device expects to get data after that it will generate the necessary SCL signals to get it. if the SCA signal does not budge the slave did not "get" anything or it is incapable to drive the SCA signal (defective chip).
It has been many years since I used it but it will certainly be around for a long while to come.
|
|
|
|
|
I have fiddled my way through the error codes and have a state_right_pause Nutz. Well I have got as far as one of the bosses did (in two days, he took 3 months )
|
|
|
|
|
glennPattonWorking wrote: The problem is the thing is getting data (?) and not outputting it to the SCA line?
I've had problems like that. Verify that there isn't some chip enable bit that has to be set first, that you're setting up all the registers correctly, that you're talking to the right device, etc.
Reading the chip specs can be a real PITA, especially when it's little more than Janglish.
Did you try googling to see if other people had similar problems with the device?
Marc
|
|
|
|
|
Plenty of the similar problem, no such luck with answers...
The b******r goes to sleep and doesn't wake up!!
modified 8-Nov-16 11:44am.
|
|
|
|
|
Let it not be said that I don't comment my code:
if ($.browser.msie) {
if ($.browser.msie) {
I should probably mention I had to support IE8
|
|
|
|
|
No interesting parts dedicated to your pointy hair?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Sander Rossel wrote: $.browser.msie
Wait, jQuery?
Why not Modernizr[^]?
Just kidding.
Just trying to erode any confidence about any JS library --- if such confidence on any JS library exists.
|
|
|
|
|
raddevus wrote: Just trying to erode any confidence about any JS library FTFY
|
|
|
|
|
Sander Rossel wrote: support IE8
And jQuery 1.9 too
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
1.11, but yeah
|
|
|
|
|
Hi All,
I am still in new job mode, not bored yet...I am working on a board where the I2C bus is causing the processor not to be woken up! This so cool!
|
|
|
|
|
glennPattonWorking wrote: I am still in new job mode, not bored yet
Now this is your biggest achievement yet. Cheers Glenn
|
|
|
|
|
Ask them to give you a real logic analyzer, so that you can see what'sn going on on the entire bus.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Those thing confuse the dodo out of me!
|
|
|
|
|
Why? It's just what you get to see in the datasheets, but with real signals and not some idealized state.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Never used a good one, never had the time to fiddle with one...
|
|
|
|
|
How on Earth did you get a dodo inside you? They've been extinct for donkeys' yonks.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|