Help a beginner with his student project

10 Nov 2016

Hello to everybody, my name is Luca and I'm an italian electronics student. Considering that I have a ST NUCLEO F401RE board, considering that my coding skills are really poor, what project you would advise me to start, considering that i'm a beginner and that this is the first time I join this experience? Thank you so much for your help and sorry for my broken english :) .

13 Nov 2016

Any help please? Edit: could this project run on my NUCLEO F401 RE? https://developer.mbed.org/users/jgabriel3/notebook/mini-project-lcd-maze/

16 Nov 2016

Hi,

yes, I would say that will run on the 401,

just adjust the pin names in main, P9 maybe PA_7 or something...

which pins on the 401 are the IIC port ? I2C1_SDA is PB_7 and I2C1_SCL is PB_6

or alternate pins : I2C1_SDA is PB_9 and I2C1_SCL is PB_8

rename the P9/P10s in the code accordingly..

15 Nov 2016

Nick Marsh wrote:

Hi,

yes, I would say that will run on the 401,

just adjust the pin names in main, P9 maybe PA_7 or something...

which pins on the 401 are the IIC port ? I2C1_SDA is PB_7 and I2C1_SCL is PB_6

rename the P9/P10s in the code accordingly..

Hi, first of all thank you for your help! However looking at the scheme of the f401re here https://developer.mbed.org/platforms/ST-Nucleo-F401RE/ i've noticed that I2C1_SDA is PB_9 and so i should change P9 with PB_9 and i've also noticed that I2C1_SCL is PB_8 and so i should change P10 with PB_8. Is this correct? Than, are there any differences between I2C1, I2C2, I2C3 on the nucleo? I've also another question: in the project, a pin of the lcd screen is linked to P29 which is, (looking here https://developer.mbed.org/platforms/mbed-LPC1768/) a CAN pin, now on the nucleo there isn't any CAN interface, are there any solutions? . Thank you in advance for your help!

16 Nov 2016

no problem to help,

Yes, on the 401RE the I2C1 pins can be either (PB_6 & PB_7) or (PB_8 & PB_9)

the CAN interface is an option function of that port pin.

the LCD is using that pin as a IIC or SPI function, not CAN function

you do not need a CAN interface to run the LCD, only IIC or SPI pins.

I think there is usually no functional difference between IIC channels 1,2,3 or SPI channels 1,2,3,4, A/D channels, Timer channels etc...

to make it all seemless of course.