GithubHelp home page GithubHelp logo

RMT RX buffer full about psavancanbridge HOT 8 CLOSED

morcibacsi avatar morcibacsi commented on May 24, 2024
RMT RX buffer full

from psavancanbridge.

Comments (8)

morcibacsi avatar morcibacsi commented on May 24, 2024

Hi Nick,

Please try this sketch first for VAN monitoring, to make sure that there is no hardware issue: morcibacsi/esp32_rmt_van_rx#9 (comment)

Also important to use the minimal version of the hardware, that works for sure (I use that version for years now).

I will look into the compiler warnings/errors soon.

from psavancanbridge.

nickfarmer avatar nickfarmer commented on May 24, 2024

Thanks for replying so promptly.

I tried sketch that you linked to: Output is 'CRC ERROR!' repeated. I think this points to a hardware problem.

I built the minimal v1.4 version using the absolute minimum component list. I've attached a photo to be sure.

I have tested the continuity between all of the pins that are supposed to be connected (e.g., U2 pin 1 to TSS463 pin 12). Do you think this might be a defective MCP2551?

PXL_20221130_223319270

from psavancanbridge.

morcibacsi avatar morcibacsi commented on May 24, 2024

Either a defective MCP2551 or some other hardware related error. What you can try is to wire the VAN DATAB pin directly to HV4 (bypassing the transceiver) to check if you receive anything. Hmm... if it doesn't work also try the other VAN pin I can't remember from my top of my head, but one of them should give you good results if everything is OK

image

from psavancanbridge.

BlayeeR avatar BlayeeR commented on May 24, 2024

Hey Peter
I built minimal version of the hardware and I got the same error message as in the title.
Checked example sketch and at the beginning Im getting 'CRC ERROR' but after a few of these I see data coming in without any errors.

Worth noting that the board does that only when its connected to the car and unit is in place.
When I power it up without connecting, it does not restart.
I can see that its able to send CAN messages, because if I keep on clicking 'turn on' button on the unit, then sometimes screen gets lit for a flash of a second. It also means that it can read VAN, because it needs ignition frame for the screen to be able to turn on, right?
I managed to get it to run for a few second twice, but then it restarted again.
Already swapped both of my MCP2551 but nothing changed, unfortunely I dont have replacement for TSS463 to test.

Do you have any idea how can I debug it or troubleshoot to find the issue?
Already tried connecting HV pins directly to data pins but the behaviour didnt change.

Later when I will have more time I will try to do all above tips once again, also will try to solder everything onto second board as I got them in batch of five. But for now if you have any more tips, then it would be highly appreciated.

from psavancanbridge.

morcibacsi avatar morcibacsi commented on May 24, 2024

Some basic functionality should work without the TSS463. Maybe try replacing the voltage regulator, or try powering the board with an USB cable from the ESP32 (but make sure that in this case the +12V is not connected)

from psavancanbridge.

BlayeeR avatar BlayeeR commented on May 24, 2024

Yesterday I did some tests.

So I connected board to the car without 12v pin and via micro usb to my laptop, so that it uses power from the laptop.
When I started the unit from the button it worked, screen turned on. I could pair the vin, listen to music etc. but things like temperature were not working. When I turned the ignition on, then the board started restarting again.

At this point I wanted to give up, but went back to the car to check the logs. I had to turn off bt serial for that, because with board restarting bluetooth keeps disconnecting.

With //#define USE_BLUETOOTH_SERIAL commented out board started to work, it reads temperature, trip data, works with ignition on.
Connected 12v pin back to power it up from the car and it kept working like that.

I played around with Config.h and using
#define SEND_AC_CHANGES_TO_DISPLAY
with
//#define USE_NEW_AIRCON_DISPLAY_SENDER
commented out also caused board to be stuck in infinite loop.

So both USE_BLUETOOTH_SERIAL and old aircon display sender cause board to fail. Ofc it might be not related closely with these settings- looking at how unstable it behaves, and anyway its 100% hardware issue and not the implementation.

It now works partially so I dont think voltage regulator is the problem.
There is one more thing that gets me to believe its TSS463 thats causing all the trouble. I disconnected old display and as expected AC and trip data stopped to work. So put both jumpers onto the connector pins. AC messages started to work(not sure if all correctly) but trip data is still not working. According to the readme it works only with TSS463 build, so I think I will buy another chip from diffrent seller and try replacing it
Maybe will try also with diffrent ESP32 board to make sure its fine too.

Overall Im happy, because I can already use it even if its not fully working. Will keep this thread updated, because there is not that much info about this issue

from psavancanbridge.

BlayeeR avatar BlayeeR commented on May 24, 2024

Whats the diffrence between TSS463 and TSS463C. Is it only diffrence in revision/mouting type/size etc. or it has some significant diffrences that could matter in that case?

from psavancanbridge.

morcibacsi avatar morcibacsi commented on May 24, 2024

It is nice to hear that you made it (partially) working. For the software it doesn't matter whether you install a TSS463 or a TSS463C, it is just a revision number, both should work fine.

from psavancanbridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.