Hi,
first, I´am sorry of my question, I´m new in chibiOS and STM32.
Is possible to change a pin of OVER_CURRENT (USB - PD5) to another pin? If it is, how?
Thank you!
Adam
STM32F407 - change pinout of driver
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32F407 - change pinout of driver
Hi,
The driver does not use that pin so you can assign it everywhere or even do not use it at all. If you decide to change that pin then you have too create custom board files (board.c, board.h, board.mk) for your custom board.
Giovanni
The driver does not use that pin so you can assign it everywhere or even do not use it at all. If you decide to change that pin then you have too create custom board files (board.c, board.h, board.mk) for your custom board.
Giovanni
Re: STM32F407 - change pinout of driver
So we can use the PD5 pin for an LCD screen for example without having to physically alter the STM32F4-Discovery board then?
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32F407 - change pinout of driver
I think no because the pin is wired on the board, verify the schematic.
Giovanni
Giovanni
-
- Posts: 32
- Joined: Thu Dec 20, 2012 11:57 pm
- Location: Poland
- Has thanked: 2 times
- Been thanked: 1 time
- Contact:
Re: STM32F407 - change pinout of driver
tronicgr wrote:So we can use the PD5 pin for an LCD screen for example without having to physically alter the STM32F4-Discovery board then?
You can, at least it works if you use it as an output: I use PD5 as WR line in 8080 16-bit display (FSMC_NWE).
Re: STM32F407 - change pinout of driver
resset wrote:tronicgr wrote:So we can use the PD5 pin for an LCD screen for example without having to physically alter the STM32F4-Discovery board then?
You can, at least it works if you use it as an output: I use PD5 as WR line in 8080 16-bit display (FSMC_NWE).
That's good news. I was wondering how people get FSMC work with LCDs on STM32F4-Discovery while the schematics show other devices connected on some of the bus pins.
Thanks!
Who is online
Users browsing this forum: No registered users and 16 guests