-
Notifications
You must be signed in to change notification settings - Fork 4
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
[not next revision] No wake up with TJA1442AT - 5v CAN power supply #22
Comments
at the moment we are trying to wake up through op-amp, let's try bypassing manually? @andreika-git where is a good source of +3v and good poking spot to attempt waking up more manually bypassing op-amps? |
Actually code was not ready rusefi/rusefi@54b70fb |
Should work with opamp |
rusefi/rusefi@54b70fb did not help @andreika-git please advice on test points for jumper wake up test |
Just verified baseline: wake-up via PA0 works on F407 discovery |
Either I'm misunderstanding, or you guys are trying to wakeup an F4 via CAN RX. F4 cannot wake via any pin other than PA0, and rising edge. |
This board feeds can_rx into pa0 via op-smp |
My bad, apologies. |
great news! discovery firmware on alphax hardware wake up via 5v on CAN RX pad with transceiver removed! op-amp divider drama - same discovery firmware on alphax hardware does NOT wake up with 3v on CAN RX pad with transceiver removed! |
with full erase alphax firmware wakes up on 5v, looks like we had some settings drama or maybe I did not flash latest properly sounds like next step to address op-amp vs 3v drama. i assume divider would not be easy to remove due to 4-resistor-arrays. do we want to replace 4-resistor-array with three individual resistors or is that a bad track overall? |
Let's do a little fix:
|
I've removed CAN transceiver for first round of experiments I've soldered resistor on top of array as recommended first tests stand by was rebooting right away, got that a couple of time took stuff back for inspection / poking, solder looked good did more tests and behavior changed, in a good way I guess it goes to sleep into standby and wakes up with just an antenna - i touch CAN RX pad with jumper wire and that wakes MCU up, even with jumper wire floating |
i went forward and re-install can transceiver now it again reboots after standby right away :( |
|
@mck1117 any ideas why does it start right after standby command with CAN transiever? |
TJA1051 yellow = CAN_TX
edit: never mind, I got it to do it once with no edge on rx, with the stm asleep for about 300us before it woke up |
@mck1117 I am super confused do we have same or difference behavior? Do you have desired behavior? Because I believe i have desired behavior? |
forgot to mention that I had a mod to change op-amp divider ratio @mck1117 says he had similar mod |
just removed the mod and board no longer wakes up, the op-amp divider change is mandatory |
We should test another option: use +5V VIO for CAN driver instead of 3.3V - maybe it's better than trying to bypass the opamp divider... |
That would work (CAN RX is of course 5v tolerant), or we can add a line on the MCU module that goes directly to PA0 instead of thru the opamp. |
i believe the open question if we should mod one of alphax boards to triple-check or just fab with 5v CAN VIO without a HW test of rev A @mck1117 any chance you would be available to test rev A of alpha with +5v VIO? |
Complete failure of my experiment - standby always reboots right away unconditionally op-amp resistor hack removed same result with following tests: |
Does CAN work by itself with the red jumper? |
Proposal: connect a resistor (3..10k?) to CAN_TX and +5V. |
10K between TX and +5v has changed things but did not solder the overall issue good news there is no auto-reboot, i.e. "go to sleep" works via CAN now still broken: no wake up on next CAN message now I will solder test point for RX |
I am failing to do these HW mods that's above my skillset, we need to go a different route. while adding RX test point I've shorted the board somewhere. I had to remove the resistor and red jumper wire to get board back to life i got board back to life i've added red wire and TX pull-up and now it reboots instead of sleep :( let me see if @mck1117 can ship his alphax board to @NMSTEC maybe @NMSTEC would be better than me at HW hacks |
Just makes prototyping easier with less chance of damaging pads or board. Can also run wires to a breadboard for prototyping. |
@andreika-git please add resistor provisions |
See #38 |
I've soldered TJA1442AT on one unit with stm32f407 MCU
I have CAN validated see #16 (comment)
I issue "stm32_standby" via rusEFI console
i send CAN packets
expected result: wake up
actual result: no wake up :(
The text was updated successfully, but these errors were encountered: