Search found 1483 matches

by victor_pv
Tue Aug 22, 2017 2:28 pm
Forum: STM32generic
Topic: [STM32GENERIC/HAL] SerialUSB TX/RX speed problem
Replies: 68
Views: 1187

Re: [STM32GENERIC/HAL] SerialUSB TX/RX speed problem

Why did you mark this as problem?
Problem: STM32Generic with CDC_BUF 128, and bufsize = 256 (speed ???)
3seconds between packets
by victor_pv
Tue Aug 22, 2017 2:16 pm
Forum: Projects
Topic: Anyone tried to make a 3D Printer controller?
Replies: 233
Views: 17640

Re: Anyone tried to make a 3D Printer controller?

ChrisMicro wrote:
Tue Aug 22, 2017 2:04 pm
This 3D-printer has a STM32F070.
There is a few boards now with STM32, but all closed source. I think monoprice has another one with an F103, and then there is the MKS ROBIN. But they won't even release the schematic :(
I'm starting to design my own with to plug to one of the mini F4 boards.
by victor_pv
Tue Aug 22, 2017 5:19 am
Forum: STM32generic
Topic: [STM32GENERIC/HAL] SerialUSB TX/RX speed problem
Replies: 68
Views: 1187

Re: [STM32GENERIC/HAL] SerialUSB TX/RX speed problem

Pito the Windows driver is definitely doing some buffering on it's end, since the bulk transfer is only for 64bytes, hard coded in the libmaple driver.
I wonder is the 4096 is some information the host sends to the board to indicate how much buffer space it currently has.
by victor_pv
Mon Aug 21, 2017 9:29 pm
Forum: Working / ported libraries
Topic: i2s library
Replies: 2
Views: 426

Re: i2s library

Hello! I'm have STM32F103RET6 board and can test as receive PT8211 DAC, but very interested test I2S record function. I have MP45DT02 MEMS microphone but can't test it. My knowledge for writing sketch for this purpose is not good, and i search who can make simple sketch for reading from I2S MEMS mi...
by victor_pv
Mon Aug 21, 2017 7:21 pm
Forum: General discussion
Topic: [POLL (Open)]- favorite STM32F1 board for stm32duino 08/2107
Replies: 22
Views: 448

Re: [POLL (Open)]- favorite STM32F1 board for stm32duino 08/2107

Rick I think the blue pills are so cheap and widely available, nothing will come close, and I agree with you people looking for more resources will probably jump to an F4. It's easier to find an F407 that an F103RET, and about the same cost. Keep the poll open for longer, perhaps make it a sticky an...
by victor_pv
Mon Aug 21, 2017 5:18 pm
Forum: General discussion
Topic: Rebooting to DFU bootloader in F4 and others.
Replies: 6
Views: 74

Rebooting to DFU bootloader in F4 and others.

Since the STM32F4xx MCUs have a DFU bootloader included in ROM, I'm thinking on adding code so when the board is rebooted to upload a sketch it goes to system rom, to show as DFU device, rather than just doing a hard reset. The idea is to be able to reboot to DFU without using boot1 pin (as long as ...
by victor_pv
Mon Aug 21, 2017 5:03 pm
Forum: Cores
Topic: [Libmaple] pinMode() disables timer even if no PWM mode involved
Replies: 35
Views: 1125

Re: pinMode() disables timer even if no PWM mode involved

This thread seems to be focused on the libmaple based core, so I am moving it to that forums.
by victor_pv
Mon Aug 21, 2017 12:57 pm
Forum: General discussion
Topic: [POLL (Open)] Blocking behaviour of Serial.USB during TX
Replies: 9
Views: 122

Re: [POLL (Open)] Blocking behaviour of Serial.USB during TX

Updated the previous post to add RX behavior in the DUE.
by victor_pv
Mon Aug 21, 2017 2:46 am
Forum: General discussion
Topic: [POLL (Open)] Blocking behaviour of Serial.USB during TX
Replies: 9
Views: 122

Re: [POLL (Open)] Blocking behaviour of Serial.USB during TX

This is what the DUE core does: SerialUSB TX behavior https://github.com/arduino/ArduinoCore-sam/blob/master/cores/arduino/USB/CDC.cpp#L264 /* only try to send bytes if the high-level CDC connection itself is open (not just the pipe) - the OS should set lineState when the port is opened and clear li...
by victor_pv
Mon Aug 21, 2017 12:57 am
Forum: General discussion
Topic: [POLL (Open)] Blocking behaviour of Serial.USB during TX
Replies: 9
Views: 122

Re: [POLL (Open)] Blocking behaviour of Serial.USB during TX

Guys, since the option that was not included is the one apparently getting the most votes, I have added it as a separate option to track how much people goes for it. Please vote again as the change cleared the voting. But so far it seems the best option is to make it configurable. I will look at tee...