Skip to content
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

pin contention - TLE8888 + CS + BT #180

Closed
rusefi opened this issue Jun 22, 2020 · 10 comments
Closed

pin contention - TLE8888 + CS + BT #180

rusefi opened this issue Jun 22, 2020 · 10 comments

Comments

@rusefi
Copy link
Collaborator

rusefi commented Jun 22, 2020

TL,DR: do we have ANOTHER set of UART pins exposed on MRE not PC10&PC11?

How do we get MRE to

  1. obviously keep using SPI for TLE8888
  2. have different SPI for SD card
  3. and also have UART for Bluetooth?

TLE8888 uses TBD pins which conveniently could be multiplexed to SPI1 or SPI3
SD card ideally should be running on a different SPI to reduce contention. We have complete SPI exposed which uses PC10&PC11

so if PC10 and PC11 is used by SPI for SD, do we have another pair of pins exposed on all the little random vias? if not, what would be the minimal HW change to have uart exposed without sharing pins with SPI?

@rusefi
Copy link
Collaborator Author

rusefi commented Jun 22, 2020

@ksmola since you did UART recently poke :)

@rusefi
Copy link
Collaborator Author

rusefi commented Jun 22, 2020

@rusefi
Copy link
Collaborator Author

rusefi commented Jun 24, 2020

image

@rusefi
Copy link
Collaborator Author

rusefi commented Jun 24, 2020

image

how about PB10 & PB11 which are used for SPI Flash right now? Does SPI use them simply as GPIO. We better use PE0 and PC13 for SPI Flash GPIO and PB10 & PB11 for UART

@jharvey
Copy link
Collaborator

jharvey commented Jul 6, 2020

I'm not following the request. Is this correct?
PB10 on SD card --> PE0 WP
PB11 on SD card --> PC13 HOLD
Then we want
PB10 to a via for UART via soldered wire
PB11 to a via for UART via soldered wire

jharvey pushed a commit that referenced this issue Jul 6, 2020
@rusefi
Copy link
Collaborator Author

rusefi commented Jul 6, 2020

The request:
before the change PB10 PB11 were routed to SPI Flash (not SD card)
PE0 PC13 were available to outside world via VIAs

The request:
swap pin usage. use PE0 PC13 to control SPI Flash
make PB10 PB11 available to outside world via VIAs

@jharvey

@jharvey
Copy link
Collaborator

jharvey commented Jul 6, 2020

My key concern is if PE0 or PC13 should be connected to the flash traced called HOLD? I have committed a draft copy. Did I get the correct signal to the correct pin? If they are flipped does that matter? Is the PCB as it's drawn now correct and ready for MFG files?

@rusefi
Copy link
Collaborator Author

rusefi commented Jul 6, 2020

Does not matter which one is which, it's GPIO so full programmatic control

@jharvey
Copy link
Collaborator

jharvey commented Jul 6, 2020

Thanks for the verification. This is routed, so we can close it.

@jharvey jharvey closed this as completed Jul 6, 2020
jharvey pushed a commit that referenced this issue Jul 7, 2020
@rusefi
Copy link
Collaborator Author

rusefi commented Jul 14, 2020

Before the change, 0.5.1 and older

HOLD=PB11=UART3 RX
PB10=UART3 TX

@Abricosvw

image

rusefi pushed a commit to rusefi/rusefi that referenced this issue Jul 14, 2020
rusefi pushed a commit to rusefi/rusefi that referenced this issue Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant