Search found 46 matches

by trimarco232
Wed Jul 16, 2025 8:42 pm
Forum: General discussion
Topic: [BluePill+] problem with USART interrups
Replies: 7
Views: 1360

Re: [BluePill+] problem with USART interrups

yes , that was it , thank you all !
I just modified the name of the function "USART3_IRQHandler" in the uart.c file , and now it works fine (even if I consider it to be a shame to have to do it this way ; I will look for some better HAL function instead)
(But the most important thing is that I can ...
by trimarco232
Sat Jul 12, 2025 5:56 pm
Forum: General discussion
Topic: [BluePill+] problem with USART interrups
Replies: 7
Views: 1360

Re: [BluePill+] problem with USART interrups

I can not change Serial , because I need it for the USB
Can you please tell me where I can find the function "USART3_IRQHandler" in the core , which folder and which file : I was looking for it in Arduino15 , but with no success yet
by trimarco232
Sat Jul 12, 2025 11:10 am
Forum: General discussion
Topic: [BluePill+] problem with USART interrups
Replies: 7
Views: 1360

Re: [BluePill+] problem with USART interrups

thanks ,
I tried it but got : (.text.USART3_IRQHandler+0x0): multiple definition of `USART3_IRQHandler';
(ok to avoid to print in ISR)
by trimarco232
Sat Jul 12, 2025 10:52 am
Forum: Ideas & suggestions
Topic: DMA for SPI
Replies: 27
Views: 23641

Re: DMA for SPI

but in this case , I don't use NSS , nor MISO , nor CLK
What happened , is that without setting SPI_CR2_SSOE , my MOSI did not work , and even the SPI peripheral lasts its config !
I don't know what happens :
- undocumented silicon error
- no original chip
- me living in 5th dimension
(AI can't ...
by trimarco232
Sat Jul 12, 2025 10:37 am
Forum: Off topic
Topic: stm32f103 clones
Replies: 4
Views: 7464

Re: stm32f103 clones

Hi ag123,
interesting !
please what is the relation between analogRead and mvolt ?
I made 3v3 *1000 /4095 and did not get the same result
by trimarco232
Sat Jul 12, 2025 9:19 am
Forum: General discussion
Topic: [BluePill+] problem with USART interrups
Replies: 7
Views: 1360

[BluePill+] problem with USART interrups

Hi,
in my current project , I am dealing with RS485 , on my way. I am writing directly into the registers , in order to know exactly what I am doing , and what happens
The problem here is that after receiving a byte , the program stops ; I don't now if it is just before it enters the ISR (USART3 ...
by trimarco232
Sat Jul 12, 2025 7:49 am
Forum: Ideas & suggestions
Topic: DMA for SPI
Replies: 27
Views: 23641

Re: DMA for SPI

Hi,
I recently wrote a piece of code using DMA and SPI , the goal is to command WS2812b chips , using just a MOSI output of a BluePill+ (WeAct , hope this is an original STM32F103C8T6)
I am writing directly into the registers , so I know exactly what I am doing , at least I hope so.
But here , I had ...
by trimarco232
Tue Jun 03, 2025 11:05 am
Forum: Projects
Topic: USB↔BLUE.PILL→DMA→SPI→WS2812B
Replies: 8
Views: 7804

Re: USB↔BLUE.PILL→DMA→SPI→WS2812B

oops , right
by trimarco232
Mon Jun 02, 2025 11:25 pm
Forum: Projects
Topic: USB↔BLUE.PILL→DMA→SPI→WS2812B
Replies: 8
Views: 7804

Re: USB↔BLUE.PILL→DMA→SPI→WS2812B

thank you ozcar
1) my project will light 8 RGB chips every 100ms ; the whole duration for one transmission is ~2us , so there is no problem to use a blocking little piece of code , but yes , I hate this way to do
2) SPI and DMA are , with GPIO , the simplest peripherals in a STM32 , so they are easy ...
by trimarco232
Sun Jun 01, 2025 9:05 am
Forum: Projects
Topic: USB↔BLUE.PILL→DMA→SPI→WS2812B
Replies: 8
Views: 7804

Re: USB↔BLUE.PILL→DMA→SPI→WS2812B

I made some tests with cubeMx and cubeIDE (fast compile and upload , easy debug) :
NSS , MISO and even SCK pins can be reused as GPIOs , or ADC inputs , but not for the timer peripherals (contrary to cubeMx)

still hoping for some help in order to make DMA→SPI→WS2812B

Go to advanced search