Search found 77 matches

by s_sergiu
12 Oct 2022 17:29
Forum: mikroBasic PRO for ARM General
Topic: STM32H750VB SPI Init Advanced Not Working
Replies: 2
Views: 776

Re: STM32H750VB SPI Init Advanced Not Working

Hello Filip, I use the latest version 6.2.0. I tested all SPI ports from 1 to 6. I also changed the mcu to H743ZI in project settings with same reasults. I worked at registers level (according to stm32h750 reference manual) and I can send one bytes at a time on MOSI which looks good in oscilloscope ...
by s_sergiu
03 Oct 2022 15:28
Forum: mikroBasic PRO for ARM General
Topic: STM32H750VB SPI Init Advanced Not Working
Replies: 2
Views: 776

STM32H750VB SPI Init Advanced Not Working

Hello, I tested today a PCB with STM32H750VB connected to one MPU6000 board in SPI mode. Using other compiler (Keil uVision) I can read and write the MPU6000 without problems. However SPI Init Advance in mikroBasic is not working. Reading the SPI2_CFG1 and SPI2_CFG2 in debug mode will show default (...
by s_sergiu
09 Aug 2022 12:08
Forum: mikroBasic PRO for ARM General
Topic: When (if) will be the next Mikrobasic Pro update ?
Replies: 1
Views: 785

When (if) will be the next Mikrobasic Pro update ?

Hello Mikroe Team,

When we can expect the next update of the compiler ?
Last one was over 3 years ago.
I don't mind to pay every year to keep receiving updates with latest mcu's and bug fixes / improvments.

Sergiu
by s_sergiu
04 Apr 2022 08:47
Forum: mikroBasic PRO for ARM General
Topic: For MIKROE Team STM32H743VI Wrong Clock Setings
Replies: 0
Views: 788

For MIKROE Team STM32H743VI Wrong Clock Setings

Hello, I am not able, after many combinations and testings to make the clock configuration working. I use latest 6.2.0 version o0f MikroBasic. I also applied the patches found in forum at MikroC Pro section: STM32H743VI.mlk STM32H743ZI.mlk __Lib_GPIO_32H7xx_Defs __Lib_System_H7xx.emcl The board I us...
by s_sergiu
21 May 2020 10:07
Forum: mikroBasic PRO for ARM General
Topic: STM32H7 UART Library issues
Replies: 2
Views: 1568

Re: STM32H7 UART Library issues

Thank you Filip.
All UART's are working now.
Sergiu
by s_sergiu
20 May 2020 15:13
Forum: mikroBasic PRO for ARM General
Topic: STM32H7 UART Library issues
Replies: 2
Views: 1568

STM32H7 UART Library issues

Hello, Cannot make working UART 4,6,7 and 8 in STM32H743ZI. I think library __Lib_UART_32H7xx_12345678.emcl have some issues. UART6_Init_Advanced(115200, _UART_8_BIT_DATA, _UART_NOPARITY, _UART_ONE_STOPBIT, @_GPIO_MODULE_UART6_PG14_9) UART7_Init_Advanced(115200, _UART_8_BIT_DATA, _UART_NOPARITY, _UA...
by s_sergiu
12 May 2020 12:28
Forum: mikroBasic PRO for ARM General
Topic: Nucleo-H743 is not working with PLL1 as clock source
Replies: 17
Views: 6150

Re: Nucleo-H743 is not working with PLL1 as clock source

Hi Ralf, If the three wires are properly connected it should work. I assume you flashed your mikroProg to latest version with ST-Link utility. It is essential that you have the usb cable completely removed from Nucleo board ST-Link V3 programmer. So you should change JP2 to EXT PWR and apply externa...
by s_sergiu
08 May 2020 15:39
Forum: mikroBasic PRO for ARM General
Topic: Nucleo-H743 is not working with PLL1 as clock source
Replies: 17
Views: 6150

Re: Nucleo-H743 is not working with PLL1 as clock source

Hi Ralf,

Mikroprog should do it without problems.
You need just 3 wires: GND, SWDIO and SWCLK

Regards,

Sergiu
by s_sergiu
08 May 2020 10:55
Forum: mikroBasic PRO for ARM General
Topic: Nucleo-H743 is not working with PLL1 as clock source
Replies: 17
Views: 6150

Re: Nucleo-H743 is not working with PLL1 as clock source

Hello Ralf, The simplest work around is to use STM32 ST-Link utility. You have to manually load the hex/bin file after each compilation which is pretty annoying. That is because The Nucleo H7 board uses ST-Link V3 programmer which is not yet supported by Mikroe. What I finally did was to attach one ...
by s_sergiu
04 May 2020 10:07
Forum: mikroBasic PRO for ARM General
Topic: For Mikroe team: STM32H7 Wrong Registers Values
Replies: 2
Views: 2063

Re: For Mikroe team: STM32H7 Wrong Registers Values

Hello Filip, Yes. They are related to same issue. Some bits in registers cannot be written to 1 or they go in wrong position,for example register.17 = 1 and register.16 = 1 will write 1 on register.12 and register.11 It was just luck that with 0 on some positions was the required setting for my part...
by s_sergiu
02 May 2020 09:33
Forum: mikroBasic PRO for ARM General
Topic: Working example: STM32H7 USART Rx with DMA
Replies: 0
Views: 3597

Working example: STM32H7 USART Rx with DMA

Hello, While I still have compiler related issues with registry in STM32H7, I finally found one working around for USART Rx with DMA. The big difference compared to STM32F4 is : - the introduction of DMAMUX registers giving almost total flexibility in selecting DMA channels - DMA1 and DMA2 are worki...
by s_sergiu
28 Apr 2020 18:18
Forum: mikroBasic PRO for ARM General
Topic: For Mikroe team: STM32H7 Wrong Registers Values
Replies: 2
Views: 2063

For Mikroe team: STM32H7 Wrong Registers Values

Hello Mikroe Team, While I was reading reference manual for STM32H743 countless times to figure out why DMA is not working at all compared with STM32F4, I found that values writen in registers in the code are different than the ones after compiling: For registers DMA_SxFCR and DMA_SxCR values are co...
by s_sergiu
26 Apr 2020 14:13
Forum: mikroBasic PRO for ARM General
Topic: STM32H7 USART RX DMA is not working
Replies: 0
Views: 2116

STM32H7 USART RX DMA is not working

Hello, I use STM32H743Zi (Nucleo board). I believe it is some issues with wrong compiling registers preventing working of DMA controller. I use same code for STM32F4 with changes specific to H7. Code below: sub procedure DMA2_UART3_RX() iv IVT_INT_DMA2_STR2 ics ICS_AUTO DMA2_LIFCR.CTCIF2=1 ' clear t...
by s_sergiu
23 Apr 2020 13:57
Forum: mikroBasic PRO for ARM General
Topic: STM32H743 Timer and EXTI interrupts not working
Replies: 5
Views: 3296

Re: STM32H743 Timer and EXTI interrupts not working

Thank you Stefan,

Will check it out now.

Sergiu

Go to advanced search