Search found 57 matches

by Bakisha
Fri Oct 02, 2020 1:21 pm
Forum: General discussion
Topic: USB Composite read MIDI messages
Replies: 3
Views: 338

Re: USB Composite read MIDI messages

You could try

Code: Select all

digitalWrite(PC13, HIGH);
Also, update library from library manager, if you havent.
Maybe even check is core have any updates.
by Bakisha
Tue Sep 15, 2020 5:19 pm
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 9487

Re: STM32F103C8 BluePill VGA Project

Nice! That's some NES level 8bit graphic :-)
DMA stream to ODR or BSSR?
Is resolution stll 224x240?
by Bakisha
Tue Sep 15, 2020 10:54 am
Forum: General discussion
Topic: USB Composite read MIDI messages
Replies: 3
Views: 338

Re: USB Composite read MIDI messages

What OS are you using?
If windows, does it have "Maple" audio device in device manager?
In your Traktor program, did you selected "Maple" as midi-out device?

I had problem with drivers, and fix for me is to set different device ID (i used USBComposite.setProductId(0x0020); )
by Bakisha
Tue Sep 15, 2020 10:45 am
Forum: General discussion
Topic: Re: 8 Bit TFT Library Issue
Replies: 3
Views: 532

Re: 8 Bit TFT Library Issue

As i recall, it is Adafruit_GFX library compatibility problem.
I don't know about DSO-150 sketch, but DLO-138 sketch can be compiled only with pre-1.8.0 version.
Downgrade library and try again
1.7.5.jpg
1.7.5.jpg (95.22 KiB) Viewed 521 times
by Bakisha
Fri Sep 04, 2020 9:21 pm
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 9487

Re: STM32F103C8 BluePill VGA Project

I tested also it, but I changed two things to DMA_TIM_BSSR_test001.ino: 1) DMA sets Peripheral size to 8 bits instead of 32 bits 2) DMA CPAR pointing to ((uint32_t)&GPIOA->ODR) Results: Minimal overflow with effect is now 7 (97.2 ns), enough for 262 horizontal pixels. VGA 640x480@60HZ needs 25.42 u...
by Bakisha
Fri Sep 04, 2020 1:09 am
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 9487

Re: STM32F103C8 BluePill VGA Project

Well, i have good news and bad news :) Good news is that i was able to make timer 4 channel 1 trigger dma to stream memory to BSRR register (i just altered sketch that i had for streaming memory to SPI), but the bad news is that it not much usefull for VGA timings. Once i found what registers and bi...
by Bakisha
Thu Sep 03, 2020 7:49 pm
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 9487

Re: STM32F103C8 BluePill VGA Project

One point is that BSSR is 32 bits register. Thus, it'll need something running to map bits into the BSSR before triggering DMA, for every scanline. Or to make a big BSSR register bitmap for pixels, but that means a lot of RAM, because for sending 1 pixel it would need 32 bits... plus other issues.....
by Bakisha
Thu Sep 03, 2020 4:25 pm
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 9487

Re: STM32F103C8 BluePill VGA Project

1) To copy a flash tile letters bitmap to RAM and use, as you said, the remaining free tiles to set pixel wherever I need. 2) To use all 256 RAM tiles and just allocate them in the 28x30 array wherever I need and set the pixels I need. 3) To split the 256 RAM tiles in 2 groups: Fixed bitmap RAM til...
by Bakisha
Thu Sep 03, 2020 10:51 am
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 37
Views: 9487

Re: STM32F103C8 BluePill VGA Project

+1
I'm just curious, did you implement full 224x240 bitmap mode? Or it still use rest of 256 tiles that are not used by font letters, to be placed in 28x30 array?
by Bakisha
Sat Aug 08, 2020 7:27 pm
Forum: General discussion
Topic: USBComposite Sysex
Replies: 8
Views: 924

Re: USBComposite Sysex

Sorry, that site is not compatible with my browser, so i cannot repeat your steps. What i did is put code to send note when note off/on is received , and BP crashed after 30 seconds. But once i put volatile flags in handleNoteOn/Off and used midi.sendNoteOn/Off in main loop, it worked ok. Midi playe...

Go to advanced search