Forums Search for: STM32
STM32F0x1 Sleep Mode Conundrum
inAny time I ask a really specific question here it always seems to go by the wayside. But what the heck -- it's Friday, it's late, and my @#$%...
Any time I ask a really specific question here it always seems to go by the wayside. But what the heck -- it's Friday, it's late, and my @#$% processor won't go to sleep!!! Anyone have any mileage with the ST Arm Cortex parts and sleep mode? I've got a STM32F303 that doesn't really need it that goes to sleep beautifully, and I've got an STM32F051 in an application where low power is...
Anybody here using STM32F4xx parts ?
inUsing the STM32F443 Cortex M4 with DMA2 feeding TIM1 and TIM8 CCRx registers for PWM generation. Curious if anybody here is using these...
Using the STM32F443 Cortex M4 with DMA2 feeding TIM1 and TIM8 CCRx registers for PWM generation. Curious if anybody here is using these parts as well ? boB
STM32L412 ADC Input Specs
inMaybe someone can help me out with this. I'm looking at the data sheet for the STM32L412xx trying to find details on the mapping of the input...
Maybe someone can help me out with this. I'm looking at the data sheet for the STM32L412xx trying to find details on the mapping of the input voltage range to the 12 bit code produced. It might appear that the Vref+ and Vref- pins define the exact range, but it seems unusual that it could be equal to the power rails. With Vref+ = 3.3V and Vref- = 0 volts does 0V on the input
Adding the new "USB CUSTOM CLASS" template to CubeMX for STM32?
When preparing nonstandard USB firmwares for STM32 microcontrollers, it would be perfect to have a possibility to use a "CUSTOM CLASS", in "Class...
When preparing nonstandard USB firmwares for STM32 microcontrollers, it would be perfect to have a possibility to use a "CUSTOM CLASS", in "Class for FS IP" list in CubeMX. Unfortunately it is not available. I have taken a look into CubeMX, and have found that for example the CUSTOM HID class is implemented in the following way: In the USB_DEVICE_-STM32???_Configs.xml file there are the follo...
STM32 Motor Control Library
inHi So, I am seriously considering trying out the STM32 Motor Control library on STM32F051...
Hi So, I am seriously considering trying out the STM32 Motor Control library on STM32F051 device http://www.st.com/web/en/catalog/apps/SE413?sc=motor-control Anyone been down that road, experiences to share? Thanks Klaus
Ada on ARM Cortex-M - tutorial
inI'm pleased to announce that the tutorial titled "Ada and SPARK on ARM Cortex-M" got its...
I'm pleased to announce that the tutorial titled "Ada and SPARK on ARM Cortex-M" got its second edition: http://inspirel.com/articles/Ada_On_Cortex.html The tutorial was extended and now targets four popular development boards: - Arduino M0 (or Genuino Zero) - Arduino Due - STM32 Nucleo-32 (with F0 chip) - STM32 Nucleo-144 (with F7 chip) The tutorial explains how to write Ada/SPARK ...
STM32: DMA and .. timers ???
inHi all, I am learning about the stm32f1xx devices, trying out some example-codes on using DMA with the ADC and DAC. However, when...
Hi all, I am learning about the stm32f1xx devices, trying out some example-codes on using DMA with the ADC and DAC. However, when reading the information in the reference-manual about DMA, it mentions DMA in combination with Timers! Now, I am a bit confused. As far as I understand it, the DMA is there to transfer data between devices (ADC, DAC, USART, SPI, I2c) to memory wi...
Anyone here familiar with the STM Cube IDE USB stack, for writing to a slow FLASH device?
The background is here https://www.eevblog.com/forum/microcontrollers/32f417-usb-fs-(not-hs)-and-dma/msg3958874/#msg395 8874 and...
The background is here https://www.eevblog.com/forum/microcontrollers/32f417-usb-fs-(not-hs)-and-dma/msg3958874/#msg395 8874 and here https://community.st.com/s/question/0D53W00001KTXLFSA5/how-to-integrate-slowwrite-spi-flash-into -stm32-usb-device-library-to-return-ok-csw-when-flash-write-finishes but nobody seems to know. However lots of people must have gone up this path... I am
Hosting a USB communications device on STM32
inHi I have a project where I need to host a CDC on an STM32F microcontroller. The usarts are in use hence the need for the CDC. I have found...
Hi I have a project where I need to host a CDC on an STM32F microcontroller. The usarts are in use hence the need for the CDC. I have found library code from STs cube which configures the USB to host a CDC. The problem I have is making my application talk to the device. Obviously when a USB to serial adapter is connected to a windows PC a COMx interface is created which can then be connected...
STM32F412 Discovery kit (32F412GDISCOVERY) Demo Source software ??
I normally see software source code for these STM32 Discos or Dscovery boards but I cannot seem to find it for this one... The ...
I normally see software source code for these STM32 Discos or Dscovery boards but I cannot seem to find it for this one... The STM32F412 Discovery kit featiuring the STM32F412ZGT6 Anyone know where I might find this one ? Downloaded the Cube patch but I don't think I see the demo in there for this board. boB K7IQ
I2C Communication between two Microcontrollers
inI want to test the I2C protocol between two STM32 (STM32L152RC) microcontrollers. Can somebody guide me on how to do it or suggest tutorials? I...
I want to test the I2C protocol between two STM32 (STM32L152RC) microcontrollers. Can somebody guide me on how to do it or suggest tutorials? I have seen some online portals where they are communicating between a microcontroller and any sensor. That I have done already. Now I want to test it between two MCU boards.
ST announce their Cortex-M3 micros
inSee: http://mcu.st.com/mcu/inchtml.php?fdir=pages&fnam=stm32 (and: http://www.freertos.org/portstm32iar.html :o) The Cortex-M3 marketing...
See: http://mcu.st.com/mcu/inchtml.php?fdir=pages&fnam=stm32 (and: http://www.freertos.org/portstm32iar.html :o) The Cortex-M3 marketing has trumpeted greater interoperability between vendors as one of the M3 selling points, so it is interesting to note that the FreeRTOS.org demos for Luminary Micro and STMicroelectronics Cortex-M3 parts use exactly the same port code, while the port...
New ARM Cortex Microcontroller Product Family from STMicroelectronics
inhttp://www.microcontroller.com/news/arm_cortex_stm.asp STMicroelectronics has introduced the new STM32 microcontroller family, based on...
http://www.microcontroller.com/news/arm_cortex_stm.asp STMicroelectronics has introduced the new STM32 microcontroller family, based on the Harvard architecture ARM Cortex. Article includes a roadmap and a useful chart of the STM32 low power operation, which is as low as 0.5mA/MHz. Regards Bill Giovino Executive Editor http://Microcontroller.com
Micrium/ARM software development partner sought
inGroup, This is not spam. I am looking for a respectable and reliable company to do some business with. My company has a design and schedule in...
Group, This is not spam. I am looking for a respectable and reliable company to do some business with. My company has a design and schedule in mind that cannot be achieved without some external help. Specifically looking for a firm with experience using Micrium tools on STM32. My design lends itself to use of thier RTOS, File System, GUI and USB-MSD software.
cortex programming in production
inHi! Does anyone know of a tool that will generate svf files (or something simillar) for ARM cortex based micro's. I've actually got an STM32...
Hi! Does anyone know of a tool that will generate svf files (or something simillar) for ARM cortex based micro's. I've actually got an STM32 but which flavour of cortex shouldn't matter. This is the means by which a production JTAG interconnection tester (JTAG technologies in this instance) programs CPLDs, micro's or other simillar stuff. At the moment we are just using an open source co...
raisonance plus Rlink - any issues?
inI am still trying to sort out a set of tools for the STM32 (and possibly other ARM processors). I know there have been several discussions on...
I am still trying to sort out a set of tools for the STM32 (and possibly other ARM processors). I know there have been several discussions on here. I have very little money as I am essentially a hobby user. Raisonance RIDE7 and the ARM toolit provide what appears to be a good IDE and a version of the GNU ARM tools. It is free and unrestricted. So far I quite like it. To program and debu...
STM32 ARM toolset advice?
in(Not to start a tools war but) I'm about to start a project that will use the STM32 ARM from ST. IAR and Keil both supply high quality tool...
(Not to start a tools war but) I'm about to start a project that will use the STM32 ARM from ST. IAR and Keil both supply high quality tool sets for the STM32. I've used both toolsets' evaluation copies. I believe I'd be satisfied buying any one over the other. Can anyone make any comments why one might be better than the other? At this point, it's a flip of the coin. I'd like t...
3.3V Microcontroller 5V Device
inHello... I am using the Cortex M3 ARM Controller STM 32, And my device to be interfaced is a 5V logic which is having an SPI and needs a signal...
Hello... I am using the Cortex M3 ARM Controller STM 32, And my device to be interfaced is a 5V logic which is having an SPI and needs a signal which is 1Mhz I can make a 1Mhz signal in controller using PWM and it is having an SPI Hardware but both out put is 3.3V but the PINs of STM32 is 5V tollerable. so the output from the device can be directly connected or with a resistor in it. B...
Embedded Basic interpreter recommendations?
inHi everybody- This question comes up from time to time from various posters but it never gets an answer that fits my specific needs. Here...
Hi everybody- This question comes up from time to time from various posters but it never gets an answer that fits my specific needs. Here goes: Would anyone be able to recommend a free embedded basic interpreter with C source code? My intended target is the STM32 which probably has enough RAM for small programs. My intent is to create an embedded controller board with a serial p...
strangeness with objcopy and large binaries
inI have built the CodeSourcery ARM compiler (2008q3). I have a linker script for the STM32 with the following sections: MEMORY { FLASH...
I have built the CodeSourcery ARM compiler (2008q3). I have a linker script for the STM32 with the following sections: MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 128K RAM (xrw): ORIGIN = 0x20000000, LENGTH = 20K } SECTIONS { .isr_vector : { . = ALIGN(4); KEEP(*(.isr_vector)) . = ALIGN(4); } > FLASH