Questions tagged [cubemx]

71 questions
0
votes
2 answers

How to verify whether Quectel M66 recognize my command sent via UART from STM32?

I am using STM32F103C8 board and CubeMX to create the code. I have connected the M66 to STM32 to UART2 port. I try to send some commands to Quectel M66 via STM32's UART port. It receives the command but throws some junk characters. I have set the…
Vignesh
  • 55
  • 3
  • 12
0
votes
1 answer

how to read data from quectel L89 GPS module in stm32 using HAL_UART_Receive()?

I am using STM32F103C8T6 board and CubeMX to generate the code. I need to receive the GPS data from Quectel L89 module from UART2 port. when I try that I get some junk values only... I am using HAL_UART_Receive to receive data and print it in the…
Vignesh
  • 55
  • 3
  • 12
0
votes
1 answer

How can I add I-CUBE-LRWAN libraries to a new project?

I am working with STM32 B-L072Z-LRWAN1 discovery kit. How can I add I-CUBE-LRWAN libraries externally, after i have created a project on CubeMX for B-L072Z-LRWAN1 discovery kit. Because project which i have created have not radio libraries. I am…
fury
  • 25
  • 9
0
votes
1 answer

STM32 RTC Default Interruption Doesn't Work, CubeMX Config

I'm starting with C & STM but.. I am using STM32L4476RG adn CubeMx and trying make a interruption by RTC clock e.g every day at 10 A.M (to blink LED or change some parameter's value at the beggining). My code does not work, although it is generated…
0
votes
1 answer

STM32 + FatFS + SDIO + CubeMX

I trying to connect SD-card in 1bit mode to Stm32l4 via FatFS+SDIO interface. Code automaticaly generated by CubeMX 5.0. DMA enabled and configured in Cube. When i call FatFS func like f_mount() or f_open(), i get FR_DISK_ERR return statement. Low…
AndreyLinkin
  • 1
  • 1
  • 2
0
votes
0 answers

ADE7758 unable to read default values

I am trying to Interface Poly Phase Energy Mertering IC ADE7758 Using STM32F411VET6. My SPI is working on a prescale of 16, Baud of 6.25 MB/s and MODE 2 i.e CPOL = 1 and CPHA = 0. Here is the snapshot of settings. My connections are like…
Ehsan Habib
  • 135
  • 1
  • 5
  • 12
0
votes
0 answers

Programming CAN bus for STM32F446RE with CubeMX and uVision 5

I'm trying to program the STM32F446 using the CubeMX code generator and the uVision 5 IDE on Windows 10 in order to use the CAN bus. I've configured my CubeMX project for the STM32-F446RE Nucleo board. I have PA12 configured as CAN1TX and PA11…
ComputerNerd
  • 63
  • 10
0
votes
1 answer

STM32F411 I need to send a lot of data by USB with high speed

I'm using STM32F411 with USB CDC library, and max speed for this library is ~1Mb/s. I'm creating a project where I have 8 microphones connected into ADC line (this part works fine), I need a 16-bit signal, so I'm increasing accuracy by adding first…
B. Pieta
  • 21
  • 3
0
votes
1 answer

USB CDC: STM32F103RBT6 Cant get USB Device to show up

I got an Olimexino-STM32 with an STM32F103RBT6. I used STM32 Workbench 2.6 on Windows 10 x64 and STMCubeXM 4.27.0. I choosed in CubeMX STM32F103RBT6 RCC HSE USB USB Device Communication Device Class Debug Line: JTAG 4 pin Fix clock speeds Add LED1…
schorsch_76
  • 794
  • 5
  • 19
0
votes
1 answer

STM32 UART receive not functioning as normal

I've spent the whole day and tonight trying to work out why my receive functions aren't working. When I started the project initially it was fine (this was a couple days ago). I've since worked on it more and now it will not work. I've even now…
Alex_embedded
  • 21
  • 2
  • 7
0
votes
0 answers

Receive USB messages on STM32 MCU hangs

I am building a USB driver on an ARM Cortex M series MCU, namely the STM32F107VCT. My code is based on the USB CDC library code generated by STM's own code generation software called CubeMX. In CubeMX the MCU is configured to support 64 byte USB…
dman
  • 11
  • 2
0
votes
1 answer

Changing hardware flow control pins on STM32

I have been reading up on handshaking and hardware flow control for serial communication and I have a question that I can't seem to find an answer to. If you set up hardware flow control for a serial port on cubeMX it will set the pins up that are…
Alex_embedded
  • 21
  • 2
  • 7
0
votes
0 answers

STM32F767ZI interface with DAC082S085

I plan to use STM32F767ZI USART port in synchronous mode and control DAC (DAC082S085) for generating two Analog Signals. I also want to control the amplitude of these analog signals. So, how can I do in CubeMx and Keil? Thank you
AE104
  • 1
0
votes
3 answers

CubeMX freeRTOS V9 crashes on STM32F4

I have a specific issue with freeRTOS on STM32F4 using cubeMX. When I'm using the older version of CubeMX (with package support e.g. STM32Cube_FW_F4_V1.14.0) which supports the freeRTOSv8, it works nicely, no issues. When I updated the CubeMX to…
0
votes
2 answers

debugging issue in ARM stm32f407

while i was using cubemx to set peripherals of my stm32f407 arm core, just before generating code, i checked and selected the "set all free pins as analog (to optimize the power consumption)" dialog box in project settings-> code generator-> HAL…