Search found 20 matches

by dionyzoz
Thu Nov 19, 2020 11:12 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 5914

Re: STM32F030F4 ADC conversion

There is 10k potentiometer on input. RealTerm UART/USB terminal connected to RX,TX. 0,500 gives Byte values from 36 to 41 1,000V gives Byte values from 80 to 84 2,00V gives Byte values from 167 to 171 3,00V gives Byte values from 251 to 255 Voltage is very stable. Byte value changes a little every s...
by dionyzoz
Thu Nov 19, 2020 10:16 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 5914

Re: STM32F030F4 ADC conversion

Hi,
I will do this of course. Thanks for suggestion.
by dionyzoz
Tue Nov 17, 2020 10:19 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 5914

Re: STM32F030F4 ADC conversion

Hi LeighM
Still works as before. I will replace the chip, and try also on new STM.
*** After chip replacement everything works as before.
by dionyzoz
Tue Nov 17, 2020 6:48 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 5914

Re: STM32F030F4 ADC conversion

Hi Benj, Thanks for quick reply. I checked some configurations of ADC. GetByte() gives the same result. I got some projects on diferent STM microcontrollers. They works great. VDD=VDDA=3V. Normally I'm using RawAverageInt(16,1000). I also tried to change prescaler and PLL. You are specialist in that...
by dionyzoz
Mon Nov 16, 2020 5:56 pm
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 5914

STM32F030F4 ADC conversion

Hello, Last time i tried to make something on the cheapest version from STM family: STM32F030F4. I just bulild a simple prototype and tried to measure input voltage on PA5 pin (10k poentiometer between GND and 3V). Because i got some problem with correct measurement, I wrote a simple program to chec...
by dionyzoz
Tue Oct 27, 2020 11:28 am
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 6104

Re: STM32F030 Timer component

Hi Benji,
What can I say, I hink I have to send a bottle of something strong for that help.
Component added. All macros are active. HEX file created succesfully.
Thanks so much for support.
A lot of health for all Matrix team.
by dionyzoz
Mon Oct 26, 2020 6:58 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 6104

Re: STM32F030 Timer component

Thanks so much. I will wait for information from You.
by dionyzoz
Mon Oct 26, 2020 4:38 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 6104

Re: STM32F030 Timer component

My chip packs are shown below. Should I reinstal it?
by dionyzoz
Mon Oct 26, 2020 4:31 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 6104

Re: STM32F030 Timer component

Hi LeighM,
Something is wrong with my Flowcode7
This option looks like this:
by dionyzoz
Fri Oct 23, 2020 5:16 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 6104

Re: STM32F030 Timer component

Hi Stefan,
I understand, but I'm afraid the reason is little different.
I have no any parameters to display and modify.
Your screen is from Flowcode 8 right?
by dionyzoz
Fri Oct 23, 2020 3:33 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 6104

STM32F030 Timer component

Hello, I try o add Timer component to my program and do something on it. When I put the Timer component and some macro (fo example Timer1::StartCounter()) i got problem during compilation. I can't create a HEX file even the code is very simple. License it's a Professional version. Could you help or ...
by dionyzoz
Mon Feb 10, 2020 8:27 pm
Forum: 32-Bit ARM
Topic: STM32 UART+Circular Buffer+parity bit
Replies: 3
Views: 5067

Re: STM32 UART+Circular Buffer+parity bit

Hello, Everything is clear. First UART data bits shoud be set to 9. Next your C code shoud be paste after the UART1::Initialise For EVEN mode: HAL_UART_DeInit(&MX_UART_NUMBER_1); MX_UART_NUMBER_1.Init.Parity = UART_PARITY_EVEN; HAL_UART_Init(&MX_UART_NUMBER_1); For ODD mode: HAL_UART_DeInit(&MX_UART...
by dionyzoz
Mon Feb 10, 2020 1:11 pm
Forum: 32-Bit ARM
Topic: STM32 UART+Circular Buffer+parity bit
Replies: 3
Views: 5067

Re: STM32 UART+Circular Buffer+parity bit

Hi, Many thanks for it. I will add it soon, test with USB/UART conveter and write an information about result.
by dionyzoz
Mon Feb 10, 2020 11:54 am
Forum: 32-Bit ARM
Topic: STM32 UART+Circular Buffer+parity bit
Replies: 3
Views: 5067

STM32 UART+Circular Buffer+parity bit

Hello. Maybe my topic isn't new, because I want to fix parity bit in my application, but I need some help to solve the problem correctly. Benji wrote a little abut that in older posts. Port settings should be modified to 9-bit, but also adding some calculations are necessary. Because I'm using circu...
by dionyzoz
Sun Feb 11, 2018 2:16 pm
Forum: 32-Bit ARM
Topic: Interrupts from UART3 RX and UART5 RX for STM32F030RC
Replies: 10
Views: 8877

Re: Interrupts from UART3 RX and UART5 RX for STM32F030RC

Sorry for adding HEX file. Here is corect one.
by dionyzoz
Sun Feb 11, 2018 2:13 pm
Forum: 32-Bit ARM
Topic: Interrupts from UART3 RX and UART5 RX for STM32F030RC
Replies: 10
Views: 8877

Re: Interrupts from UART3 RX and UART5 RX for STM32F030RC

Hi, I tested interrupt from UART5 RX pin for STM32F030RC on friday evening. I need some help with this. I wrote new simple program: Bluetooth module connected to Channel3-USART3, TXpin- PC.10, RXpin- PC.11; UART to RS485 converter (VP3082) connected to Channel1-USART1, TXpin- PB.6, RXpin- PB.7, flow...
by dionyzoz
Thu Feb 08, 2018 9:03 pm
Forum: 32-Bit ARM
Topic: Interrupts from UART3 RX and UART5 RX for STM32F030RC
Replies: 10
Views: 8877

Re: Interrupts from UART3 RX and UART5 RX for STM32F030RC

Hello, I promise to write something about modification for STM32F030RC - file from LeighM. I checked interrupt from UART3 RX pin and it works very well. I connect TX to PC.10 and RX to PC.11. Everything works with HC-05 Bluetooth module. I can send and receive data by free BluetoothPro Android appli...
by dionyzoz
Tue Jan 30, 2018 7:57 pm
Forum: 32-Bit ARM
Topic: Interrupts from UART3 RX and UART5 RX for STM32F030RC
Replies: 10
Views: 8877

Re: Interrupts from UART3 RX and UART5 RX for STM32F030RC

I can't belive... You fix all 6 UART channels :shock: What can I say, you are really a specialist. I can finish my project now. I will receive my board on friday. I will test it and write here about the results. With that all 6 UARTS, STM32F030RC is a very good chip for everyone who want to relize l...
by dionyzoz
Tue Jan 30, 2018 1:27 pm
Forum: 32-Bit ARM
Topic: Interrupts from UART3 RX and UART5 RX for STM32F030RC
Replies: 10
Views: 8877

Re: Interrupts from UART3 RX and UART5 RX for STM32F030RC

Thanks so much for quick replay LeighM. I got developed PCB with that configuration: UART1 (RS485 for touch panel), UART3 (RS485 for external building automation) and UART5 (bluetooth module). That will be great to get some solution. Datasheets for ARM are much complex for me (before AVR's was used ...
by dionyzoz
Tue Jan 30, 2018 11:13 am
Forum: 32-Bit ARM
Topic: Interrupts from UART3 RX and UART5 RX for STM32F030RC
Replies: 10
Views: 8877

Interrupts from UART3 RX and UART5 RX for STM32F030RC

Hello, I'm a new F7 32-Bit ARM user and just start my first projects on this platform. I choose low cost STM32F030RC chip and got some problem with interrupts. There are two interrupts: UART_RXINT1 and UART_RXINT2, which works well for USART1 and USART2 blocks. I need some help to construct interrup...