Hi all, i am using silicon labs controller 8051F340 in which the TX of serial port is not giving expected data(acknowledgment for received data). instead it is giving some other data. It is happening only in one particular board (other boards are fine) frame: 55 xx xx xx xx xx xx xx xx xx AA frame sent frame expected: 61(01 is appearing).
i have doubt that the register settings of that particular ctrller has been corrupted please give suggestions to make it proper without changing controller.
Thank You
The configuration settings are volatile, so the program has to specify all settings on every program start. So corruption is fixed by a reboot - unless you have corrupt flash content in which case you need to reflash.
Perhaps it is an issue with external components? If you don't want to remove/swap them, then you'll need to probe them externally and see if things are as they should be. ie voltage, signals, clocks, etc.
For serial data, check the oscillator clock, and scope the data signal to understand what/how it is being corrupted, and that it is at the right baud rate.
This will require some work on your part to analyses the board you have that is failing. Ask your colleagues for help if you need it.
do you have a 3V3 232 transceiver? sounds like the problen someone else had which was due to using a 5V transceiver powered by 3V3
we think a pin maybe 7 is not at 0v gnd level
pin numbers mean nothing they are package dependent
Ok, and how is anyone other than you going to verify that?
This is your board design, in your possession, you should check the continuity of the ground plane/connections.
Assuming a 48-pin part, where pin 7 is ground.
www.silabs.com/.../C8051F34x.pdf
assume = ASS U ME
yes pin 7 is not connected to 0v gnd supply
code that relies on an instruction-counting
We can only think of one person on this forum who would hide behind a name like that: Erik.
I aint hiding, dunt now what happens
Erik
This forum can place the cursor at the name field if the page is slow to load - then it's very easy to start writing in the wrong field.
It's a bit strange with a forum where the name field is open for edit on every post as if Keil intends us to change name between each post.
We know Erik. Only joshing with you.