Search found 5537 matches

by RogerClark
Tue May 23, 2017 1:55 am
Forum: General discussion
Topic: blue pill prototyping board with tft adapter
Replies: 11
Views: 153

Re: blue pill prototyping board with tft adapter

BTW. I found this adaptor for the Teensy on PJRC's site https://www.pjrc.com/store/display_ili9341.html https://www.pjrc.com/store/display_ili9341.jpg It seems to be a cute minimal implementation, albeit doesn't handle the SD card, or even the touch sensor. It should be fairly simple to design a boa...
by RogerClark
Tue May 23, 2017 12:02 am
Forum: Working / ported libraries
Topic: USB HID
Replies: 145
Views: 11856

Re: USB HID

the catch is probably that you need to enumerate as a different VID/PID e.g. 1eaf:0005 the host would then think that it is a new device and initiates that accordingly I've not checked what VID/PID are used, but I thought it was a generic code for the HID and keyboard and mini devices. Hence not an...
by RogerClark
Mon May 22, 2017 10:15 am
Forum: General discussion
Topic: blue pill prototyping board with tft adapter
Replies: 11
Views: 153

Re: blue pill prototyping board with tft adapter

I made something similar for my home projects, but using a Maple Mini instead of a BP as the CPU, and I only connect the pins on the display board for the display and touch screen and not the pins for the SD card. Initially I had the display on the same side of the PCB as the Maple mini, but I then ...
by RogerClark
Mon May 22, 2017 10:07 am
Forum: General discussion
Topic: Loading programs over wifi
Replies: 8
Views: 81

Re: Loading programs over wifi

Yes, I forgot about boot0, I will need to pull this high too. My bluepill doesn't break this out, so I guess it has to be done over the jumpers. Do you happen to know where can I find the python version? Fotis Boot0 is only on that header, and I cant remember the precise wiring, though you could lo...
by RogerClark
Mon May 22, 2017 10:05 am
Forum: Generic STM32F103
Topic: I2C on the STM32F103C8T6
Replies: 9
Views: 164

Re: I2C on the STM32F103C8T6

What data types are you using to store the initial X Y and Z values? The "int" data type on STM32 is 32 bits, but on AVR its only 16 bits So your maths that has the value 32768 will not work on the STM32 unless you change the data type of your X Y and Z struct values to be 16 bit ints rath...
by RogerClark
Sun May 21, 2017 10:33 pm
Forum: Generic STM32F103
Topic: I2C on the STM32F103C8T6
Replies: 9
Views: 164

Re: I2C on the STM32F103C8T6

by default I2C is "software" driven, and speed is at least 100k Hardware I2C should now be working Ok, and will be faster, but you will need to instantiate an instance of the hardware I2C class to use it. Search the forum, there are many posts about using hardware I2C Note. The reason that...
by RogerClark
Sun May 21, 2017 10:27 pm
Forum: General discussion
Topic: Loading programs over wifi
Replies: 8
Views: 81

Re: Loading programs over wifi

Reflashing via the MCUs built in Serial bootloader will be the simplest option. You will need 4 pins, Reset, Boot0, Tx and Rx. As well as the C code for the uploader, there is also a python version which is potentially easier to port. You could also program via SWD, but the SWD pins are disabled in ...
by RogerClark
Sun May 21, 2017 10:07 pm
Forum: Working / ported libraries
Topic: USB HID
Replies: 145
Views: 11856

Re: USB HID

I think we would need to test for whether its practical on Windows. When switching from DFU. bootloader to Serial Sketch, Windows does not have a big problem. We could also prevent Serial.end() being called by default, so the only thing Windows would see is when the new device e.g. HID is enumerated...
by RogerClark
Sun May 21, 2017 7:24 am
Forum: Generic STM32F103
Topic: linux blue pill arduino DFU, my notes
Replies: 3
Views: 67

Re: linux blue pill arduino DFU, my notes

If the BluePill was initially empty, and was flash with the bootloader, what is supposed to happen is that its supposed to wait in DFU mode for the first upload. Looking at the code, Serial.begin() gets called in https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/variants/gener...
by RogerClark
Sun May 21, 2017 6:59 am
Forum: OSX
Topic: Failed to reconnect serial monitor after uploading on macOS
Replies: 17
Views: 257

Re: Failed to reconnect serial monitor after uploading on macOS

I thought the bootloader was waiting for the DFU reset command, rather than some generic USB reset caused by pulling D+ and D- low

Go to advanced search