polarity as in active high or active low. typically people associate an active high state with a net name unless there is something to indicate an opposite polarity like a !, #, , or ‘n’ character. Your RDY signal is active low, i.e. the SJ is “ready” when the line is in a low state. As a suggestion you should consider writing it as nRDY or even changing it to BSY so that the active high state is functionally equivalent to what the signal name is. If you talk about things in a positive-logic sense in a consistent manner it helps reduce confusion. In this case nRDY is read “not ready” as this would be the case when the signal is in the high state. This becomes really helpful when writing equations for programmable logic devices, especially when some poor contractor is going to get stuck deciphering it when you have moved on and up to a new job.
Yeah I figured there would be syntax issues but it was the backwards logic of the RDY pin that most likely caused the problem. See what happens when you try it again tonight. I edited my post above to include the EndIf statements.
kurte has a good idea too, you could use the S_OUT as your TXD pin and the debugger window on the IDE. You would need to change serout to
serout TX, N9600, [DEC TestPhrase(pIndex), 32] ; the , 32 adds a space character in between the values
to display the value of the phoneme token on the terminal instead of whatever glyph would come from sending the single byte. You could also use one of the pushbuttons as RDY and make the Pause 20 statement something like Pause 10000 so you could literally pace the operation and demonstrate proof of concept. That way if the loop count is off or something it should be easy enough to find before you send the stuff to the SJ and wonder why it’s choppy or something.
Sounds like a good idea to try a different power supply again. You said in a earlier response that you are using the power from the ABB board. Was that the +5V or the input voltage? I remember in the other thread that you were using a non low voltage power regulator on your board and the ABB could run a lot longer than the SJ board could…
Want to send me the board and I’ll send it back once we get Mike up and running? I have a BAP and ABB in my ROV I can use with it, and I should have a day or two off around T-day to mess with stuff.
The only problem with this is of course if I get something working then there isn’t a second setup in place to verify the problem is solved. I could just go buy an SJ chip of course but then I have to go figure out how to wire it up and even then we will be into a question of if the two systems are the same.
This IS why I asked you if you had an extra PCB the other day btw.
We can do whatever though… I just figured you would want to hang onto all your stuff so it was readily at hand when those servos you ordered arrive and the BRAT goes for it’s first step.
I do have an extra board but it does not have any SMT components on the board. I would have to give you my Digi-Key B.O.M. if you wanted to spend about $35 in parts.
Also, I have not ordered the servos just yet , was saving a bit more for other items.
Bad news, it happened. I released the magic smoke and the SJ board is no more.
The SJ chip is probably ok but some how, some where, the board has a short. The Vreg gets smoking hot, and before this problem, I accidentally hooked up the power backwards toasting the Vreg. I had an extra 5v regulator and replaced it, but now that one gets hot real quick. Not sure where the short is at.
Well, the board lasted through lots of abuse and survived a few reversed power hookups and literally several dozen hookups. I have one more board that I can build but that will have to wait till my brat is complete.
It’s bound to happen to all of us at some point, I can now join the ranks of those of you that have toasted something at one time or another.
Sorry to hear about that I have smelled the smoke a few times in the past!. So it sounds like it might be awhile before we have some resolution to your original problem.