[libmaple] Black F407VET6

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Tue Jul 11, 2017 7:14 am

RTClock rtc;
time_t tt;
tm_t tm;
int hh; // hour


rtc.getTime(tm);
hh = tm.hour();
error: expression cannot be used as a function

Wrong did.
hh = tm.hour;

So right and works !
Thank you !

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Tue Jul 11, 2017 8:26 am

Tell me, please, whether in the library, bus І2С ?

stevestrong
Posts: 1748
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: [libmaple] Black F407VET6

Post by stevestrong » Tue Jul 11, 2017 8:31 am

acronis wrote:
Tue Jul 11, 2017 7:14 am
rtc.getTime(tm);
hh = tm.hour();
This way you get the time elements as variables in the tm structure.
As alternatives you can use:

Code: Select all

rtc.getTime(tm);
hh = tm.hour;
// or
hh = rtc.hour(); // pay attention to the object "rtc" instead structure "tm"
I have not tested yet I2C, all are welcome to contribute.

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Tue Jul 11, 2017 8:34 am

Well !

Thank You very much ! My project perfectly works thanks to You !!!
It remains only to wait for the implementation of I2C

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Wed Jul 12, 2017 9:20 am

Hello.
Prompt, please, can I use FreeRTOS 9.0.0 with Your library ?

stevestrong
Posts: 1748
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: [libmaple] Black F407VET6

Post by stevestrong » Wed Jul 12, 2017 9:28 am

acronis wrote:
Wed Jul 12, 2017 9:20 am
Hello.
Prompt, please, can I use FreeRTOS 9.0.0 with Your library ?
I don't know, I have never used, nor tested it.
You can try it, but I cannot give you support of any kind in this case.

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Wed Jul 12, 2017 9:30 am

Well.
I'll try and write here.

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Wed Jul 19, 2017 7:10 am

Hello stevestrong !

I need to connect a RFID reader module RDM6300-UART with your library for the STM32F407 black.
As you can try to make ?

https://ru.aliexpress.com/item/1-set-12 ... 2.4.2.Have

stevestrong
Posts: 1748
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: [libmaple] Black F407VET6

Post by stevestrong » Wed Jul 19, 2017 8:21 am

We can discuss about it if you find a library for that module.
If the module uses SPI, it should run out of the box.

I just realized it uses normal serial Rx/Tx. So it should work with one of the serial interfaces.
https://github.com/garfield38/RDM6300/t ... er/arduino

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Wed Jul 19, 2017 8:40 am

This library uses #include <SoftwareSerial.h>.
SoftwareSerial only works on a STM32f103.
STM32F407VET6 on SoftwareSerial gives error.

Post Reply