Have you consider to use that one pin on separate port for address A0? So you can keep A12 on port with 12 pins. In worst case, you are reading data from address $xxx0 when A0 is 0, and from address $xxx1 when A0 is 1.
74HCT595 is good for sync timing, but if it's too slow, you could use 74HCT273.
Search found 144 matches
- Thu Sep 21, 2023 7:41 am
- Forum: General discussion
- Topic: Writing to GPIOs on two different ports at the same time?
- Replies: 10
- Views: 1951
- Wed Sep 20, 2023 1:20 pm
- Forum: General discussion
- Topic: Bluepill Uart DMA W/Callback
- Replies: 2
- Views: 970
Re: Bluepill Uart DMA W/Callback
I am not familiar with UART and DMA, but i did some experiments with SPI and DMA. Anyway, quick look in RM0008, i noticed DMAT (DMA enable transmitter) bit in CR3 register need to be set. Try USART2->CR3 |= USART_CR3_DMAT ; Also, i think DMA clock needs to be enabled: RCC->AHBENR = ( RCC->AHBENR ) |...
- Wed Aug 23, 2023 6:11 pm
- Forum: General discussion
- Topic: new Blackpill STM32G431CBU6
- Replies: 22
- Views: 17245
Re: new Blackpill STM32G431CBU6
I am yet to find what load DAC can drive, for now i directly connected to audio input of some old radio. Slap some infrared receiver module and it was very easy to port my https://github.com/Bakisha/STM32-SID-PLAYER I replaced just the part from pwm driven pin to DAC driven pin. No more that high-pi...
- Tue Aug 22, 2023 7:19 pm
- Forum: General discussion
- Topic: new Blackpill STM32G431CBU6
- Replies: 22
- Views: 17245
Re: new Blackpill STM32G431CBU6
Thanks for recommendation, i was looking for cheap (under 5€) board with DAC for some my old sound projects to play with. As you said, no breadboard for this one, but dupont wires between modules and having three GND, two 3.3V and two 5V pins helps. One thing that i find annoying is the user button,...
- Tue Aug 08, 2023 5:58 pm
- Forum: General discussion
- Topic: How? help...
- Replies: 4
- Views: 992
Re: How? help...
Most of LED panels are like multiple 74HC595 in series. Even signal names are similar (clock, strobe and output enable). Output of one color can be connected to an input of next color. If there is A,B,C,D or similar letters on a input/output connector, it means they are multiplexed. Most probably P-...
- Tue Jul 11, 2023 9:33 pm
- Forum: General discussion
- Topic: stm32f103rct6 Midi driver cannot be recognized, PC cannot recognize and does not respond
- Replies: 19
- Views: 31169
Re: stm32f103rct6 Midi driver cannot be recognized, PC cannot recognize and does not respond
I tested it on bluepill ( STM32F103C8 with 128KB of flash). I don't know about STM32F103RC )
See if there is some item in device manager with yellow exclamation mark.
Try different USB port.
Try different USB cable.
See if there is some item in device manager with yellow exclamation mark.
Try different USB port.
Try different USB cable.
- Tue Jul 11, 2023 3:00 pm
- Forum: General discussion
- Topic: Bluepill: 2 different timers to read 2 different FREQS
- Replies: 17
- Views: 2489
Re: Bluepill: 2 different timers to read 2 different FREQS
now, how do I know available timers and pins related to them? One way of figuring out which pin is related to which timer/channel is from Arduino core: https://github.com/stm32duino/Arduino_Core_STM32/blob/main/variants/STM32F1xx/F103C8T_F103CB(T-U)/PeripheralPins.c#L86-L132 I'm a little confused a...
- Tue Jul 11, 2023 2:15 pm
- Forum: General discussion
- Topic: stm32f103rct6 Midi driver cannot be recognized, PC cannot recognize and does not respond
- Replies: 19
- Views: 31169
Re: stm32f103rct6 Midi driver cannot be recognized, PC cannot recognize and does not respond
Check in device manager (right click "ThisPC->manage") is there a device named "Maple"
- Fri Jul 07, 2023 5:23 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2174
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
Just an a idea for experiment: Attach interrupt on RW falling, and if DS is low grab data? It would trigger on every write, but writes on 6502 is not so often. As long as ISR is shorter than 4µS, it should be working for latency up to 800, maybe 900nS. Something like: attachInterrupt(digitalPinToInt...
- Thu Jul 06, 2023 8:02 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2174
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
That code was for Apple 2. I am not familiar with its hardware , but code should be same: code1.jpg I can't say much about execution time of code generated with compilers, but i know that it's never one instruction per one CPU cycle. Anyway, by looking at datasheet you posted in first post, i still ...