Search found 302 matches

by danieleff
Mon Jul 24, 2017 4:28 am
Forum: STM32generic
Topic: [STM32GENERIC] F746 Discovery
Replies: 44
Views: 710

Re: [STM32GENERIC] F746 Discovery

Code: Select all

void setup() {
    SerialUART6.begin(115200);
}

void loop() {
    SerialUART6.println(millis());
    delay(1000);
}
pin 0/1
by danieleff
Fri Jul 21, 2017 8:12 am
Forum: STM32generic
Topic: [STM32GENERIC/HAL] SerialUSB TX speed problem
Replies: 9
Views: 203

Re: [STM32GENERIC/HAL] SerialUSB TX speed problem

I think it is 6-2017-q1-update from https://developer.arm.com/open-source/g ... /downloads, newest is 6-2017-q2-update

Also CDC_SERIAL_BUFFER_SIZE is still 128 in STM32/cores/arduino/usb/cdc/usbd_cdc_if.h , upping that might help.
by danieleff
Thu Jul 20, 2017 3:28 pm
Forum: STM32generic
Topic: I2C Examples
Replies: 17
Views: 666

Re: I2C Examples

Try to respond to the request void receive(int bytes) { // Received bytes } void request() { uint8_t response[1] = {9}; Wire.write(response, sizeof(response)); // responding } void setup() { Wire.onReceive(receive); Wire.onRequest(request); Wire.begin(30); } But I have not done much testing with eit...
by danieleff
Mon Jul 17, 2017 3:08 pm
Forum: STM32generic
Topic: [STM32GENERIC/HAL] SerialUSB TX speed problem
Replies: 9
Views: 203

Re: [STM32GENERIC/HAL] SerialUSB TX speed problem

A few weeks back I also added buffered USB TX, https://github.com/danieleff/STM32GENER ... 8154715833, https://github.com/danieleff/STM32GENER ... b86394c84e

Your code gives me:
USB TX speed = 308.41 KBytes/sec
by danieleff
Mon Jul 17, 2017 1:28 pm
Forum: STM32generic
Topic: STM32GENERIC Arduino implementation
Replies: 12
Views: 306

Re: STM32GENERIC Arduino implementation

I might make the STM32-only libraries as git submodules, and pack into the board manager package.
by danieleff
Mon Jul 17, 2017 7:54 am
Forum: Cores
Topic: [libmaple] -DARDUINO_ARCH_ issue
Replies: 7
Views: 122

Re: [libmaple] -DARDUINO_ARCH_ issue

I think the folder names are a clear description of what they contain With the official implementation around, this is not exactly true. (I mean the folder name: kinda clear. The compile flag it creates: not that clear) ARDUINO_ARCH_STM32F1 (and __STM32F1__) meant that it was the Arduino implementa...
by danieleff
Sun Jul 16, 2017 5:48 pm
Forum: STM32generic
Topic: [STM32GENERIC] Latest - issues
Replies: 17
Views: 454

Re: [STM32GENERIC] Latest - issues

Rename your STM32DE1 folder to STM32, the folder name is the way to distinguish between multiple archs.

I will not be able to fix the USB issue with F103ZET, it should work as the code is the same as F103C. The difference is only clock setup, and maybe it has a USB_DISC_PIN.
by danieleff
Sun Jul 16, 2017 1:52 pm
Forum: STM32generic
Topic: STM32GENERIC Arduino implementation
Replies: 12
Views: 306

Re: STM32GENERIC Arduino implementation

Daniel You can use the github Releases system if you want to mark a particular commit as being relatively stable ;-) Yes I will have to think about it. You can create libraries for peripherals as their own repo, if you use HAL, both official and this can use them. I don't understand exactly how you...