-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with CSL DD #17
Comments
So, I am currently also trying this with a csl dd. |
Hello I ported this project to a RP2040 µC, onnected only one of the two grounds (the one on the outer pins) and used the 3.3V power supply pin. |
@FixyNeko Thanks for this info. I will give it another go this weekend. Did you also experience random shutdowns when connecting the emulator? Which pins did you use? Mine seem to be too thin. |
@Berstrpriv it's probably not the best method but what I did was using male Jumper cables. But they are too thin so you need to thicken them with a little soldering tin. And then try out and adjust until it fits perfectly without play. Also printed a custom SPI 3D Part so the jumper connectors sit tight in them without coming off. I will give this another try tonight and let you know if I make some progress |
what error message are you getting? if you're getting "CRC" then it means the SPI interface is receiving corrupted data on the arduino side. If no packets are transmitted 100% correctly (from the arduino to the wheelbase), then FFB effects will not be enabled on the wheelbase. (the CRC message is generated by the arduino and sent to the display) If you're getting "UPD" message flashing, then that's better. this message is sent directly from the wheelbase, which is trying to update. This also means your SPI connection is working. I currently have lots of CRC8 errors on my PCB, but still able to use the wheelbase. (see what I wrote here #16 ) (the CRC messages on the alphanumeric display can be hidden, by commenting out #define DISPLAY_CRC8_ON_ALPHANUMERIC. but really you should only do that if it's MOSTLY working fine, and seldomly, every few seconds it recieves a bad packet.) |
Thanks for your reply @lshachar. Yes I got the CRC Error. I wired it up a 2nd time with a new level shifter and cables just to make sure there was no faulty connection or soldering. But the outcome was the same. The wheelbase immediately disconnects as soon as I connect the SPI. Almost seems like there is a short circuit and the wheelbase is protecting itself. I did the wiring exactly like in the simplified schematic and didn't use a PCB. I'm wondering if it may be caused by the jumper cables that I use the pins for the SPI connector (as I don't have a crimping tool). As the jumper cables are very thin and generally not really appropriate for soldering etc. |
I had an issue where I mirrored the pins on the connector. On the wiring schematic you're looking at the wheel side, not the base (I definitely feel like this should be highlighted in this project on the schematic, by the way). |
As for contacts, these fit pretty well https://www.tme.eu/en/details/7.010.901.001/m23-connectors/hummel/ |
@FixyNeko |
The schematic is looking at the wheel connector. |
@FixyNeko |
I connected it today in my office (was working elsewhere when I got it working). I have massive issues when I connect anything to the base, more precisely the sck pin is very sensitive and the base shut down (red led slowly blinking). This also happens when I connect only myoscilloscope, very strange. The sck, cs and mosi signals are very good however, they are still sent and no weird tension drop is happening |
Yeah, it would be nice, if some of the guys with the work adapter could send me their adapter to check on my dd. I am willing to pay. But the currently only available emulator is 100€ without the qr. This is just way too much. |
Maybe try to ditch the connector all together? that's what I did. I made a cable that connects directly to the port on the PCB inside the steering wheel. It does mean that you'd have to disassemble the base, but there's very little work involved. |
Hello, I could not understand from the discussion if this works or not with CSL DD reliably? |
@bbogdanmircea |
@bbogdanmircea, |
Well, it did work for a moment with the csl dd, not anymore. But I'm suspecting a hardware problem: loose connection, improper ground wiring ? (I was using an rp2040 ). |
Hello again, I've tried with my CSL DD. I've just needed it for classic steering wheel and I've built the project without buttons or 7 Segment display. Base recognizes Arduino and starts blinking in red. But the driver software of base doesn't recognize the wheel. Should I change something in Arduino code ? Or should I install something more on PC ? (Sorry for noob questions again) |
The base blinks red when an error occured. Did you update the base formware to the latest verzion ? Mine came from factory with a version this project was not compatible with |
Yes, I'm using with my McLaren V2 in latest version. But I've tried to reinstall the firmware manually and it did not help. Edit: Also I've checked all the solderings and the pins with multimeter and everything seems normal, there is no short circuit and all the pins connected correctly. |
Connect the arduino to your computer via USB. start a serial monitor. See if the arduino actually gets proper SPI communication with the wheelbase. every line that should be displayed on the LCD screen should also appear on the serial monitor. send C6 on the serial monitor. see if you go into the menu system. read the last comment in arduino_fanatec_wheel.ino |
Hello @lshachar I uploaded a screenshot of Serial Monitor but I couldn't understand anything from it. I think there is a problem about this. edit: I've just deleted 7segment and D-pad definition part it suddenly start to work. edit2: after I turned off and on again the base it stopped working :S |
You are not having the same Baudrate set in the Serial Monitor as in the Arduino Sketch. |
Now it says "incoming data CRC8 mismatch"... I'll try it with another shifter or arduino :/ |
It does not work for me either on my csl DD... |
Good evening everyone. Félix @FixyNeko How did you run SPI on RP2040 in slave mode? Sorry for my English, I'm from Ukraine. |
Hi. So after bypassing 13pin plug I connected USB C extension to base and connected genuine wheel on the other side and connected other rim on base. Then I decided to try making emulator and connect it directly via USB port, but I put soldering on hold since pin 3 didn't mach the ground pin. In my findings pin 12 is other ground pin. But decided not to risk it. |
Hey, anybody made this project work with CSL DD?
I couldn't get it to work. I double and triple checked the connections but the only thing happened, was the wheelbase turned off. Also got error message on the TM1637 display.
The text was updated successfully, but these errors were encountered: