STM32F0x1 Sleep Mode Conundrum

Started by Tim Wescott in comp.arch.embedded3 years ago 12 replies

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 @#$%...

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...


STM32F4 DMA question

Started by Tim Wescott in comp.arch.embedded4 years ago 11 replies

So I'm running into a response time issue on a serial port on an STM32F407. I was hoping that I could give myself more time to get to the ISR...

So I'm running into a response time issue on a serial port on an STM32F407. I was hoping that I could give myself more time to get to the ISR by piping the UART receive to the DMA. I got it set up to what appeared to be correct according to the user's manual, and what I ended up with that the DMA will transfer exactly one byte from the UART, then turn itself off. This may give me a ...


STM32 Motor Control Library

Started by Klaus Kragelund in comp.arch.embedded2 years ago 1 reply

Hi 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

Started by Anonymous in comp.arch.embedded1 year ago 3 replies

I'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 ???

Started by kristoff in comp.arch.embedded2 years ago 3 replies

Hi 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...


Hosting a USB communications device on STM32

Started by ajellis in comp.arch.embedded2 years ago 2 replies

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...

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...


ST announce their Cortex-M3 micros

Started by FreeRTOS.org in comp.arch.embedded10 years ago 6 replies

See: 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

Started by Bill Giovino in comp.arch.embedded10 years ago 90 replies

http://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

Started by Ivanna Pee in comp.arch.embedded10 years ago 3 replies

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...

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

Started by coli...@yahoo.com in comp.arch.embedded9 years ago 4 replies

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...

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...


New ARM Cortex Microcontrollers from STMicroelectronics have More of Everything

Started by Bill Giovino in comp.arch.embedded9 years ago

STMicroelectronics has announced a significant expansion of their STM32 ARM Cortex product...

STMicroelectronics has announced a significant expansion of their STM32 ARM Cortex product family: http://microcontroller.com/news/arm_cortex_stm1.asp New features include five USARTs on one microcontroller, a DAC, new memory interfaces, and up to 512KBytes of Flash. Microcontrollers in this product family draw a miserly 36mA at 72MHz (core) run mode. This original announcement is here...


raisonance plus Rlink - any issues?

Started by Peter Harrison in comp.arch.embedded9 years ago 3 replies

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...

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?

Started by John Speth in comp.arch.embedded9 years ago 77 replies

(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

Started by Razal in comp.arch.embedded9 years ago 3 replies

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...

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?

Started by John Speth in comp.arch.embedded8 years ago 79 replies

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...

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

Started by Peter Harrison in comp.arch.embedded8 years ago 4 replies

I 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


STM32, ADCs, Timing Problem

Started by Mike Kaufmann in comp.arch.embedded8 years ago

Hello Everyone, these days I encountered a serious timing problem using the ADCs, twice. Because of this the ADC interrupt used up all...

Hello Everyone, these days I encountered a serious timing problem using the ADCs, twice. Because of this the ADC interrupt used up all computing power, leading to a not or *very* slow running application and, if activated, a watchdog reset. What happend: The first time the error occured sometimes when I tried to write new parameters into the flash, just after erasing the page. After I ...


Micro to drive a TFT LCD

Started by Raddix in comp.arch.embedded8 years ago 8 replies

I am looking to drive a 3.5" tft display similar to the one used in the following protoboard. http://olimex.com/dev/lpc-2478stk.html We were...

I am looking to drive a 3.5" tft display similar to the one used in the following protoboard. http://olimex.com/dev/lpc-2478stk.html We were considering using the lpc2478 for awhile with its dedicated lcd controller. But I was looking at the stm32 chips (107/8) and i am curious about how feasible it would be to drive the onboard HX8238 of the tft with the FSMC of the ST chip and some timing ...


interfacing cpld

Started by Justas P in comp.arch.embedded8 years ago 9 replies

Hi there, a newbie question, and I would be grateful for a response or at least hint where to look(read) for information. My problem is: I...

Hi there, a newbie question, and I would be grateful for a response or at least hint where to look(read) for information. My problem is: I have two synchronisation domains. One device (A) is running at a 2.048 frequency. Then there is a STM32 microcontroller (B) that is using 8 MHz clock source. Dev A gives out NRZ data stream and accept NRZ data stream. I want to send and receive data ...


SDHC 4 bit driver?

Started by ded1...@iperbole.bo.it in comp.arch.embedded7 years ago 2 replies

Hello, I'm trying to add SDHC support to a STM32 4 bit mode driver (not SPI) which works fine with normal SD. Before ACMD41 I added CMD8...

Hello, I'm trying to add SDHC support to a STM32 4 bit mode driver (not SPI) which works fine with normal SD. Before ACMD41 I added CMD8 with 0x01AA as a parameter; the answer is the same (0x01AA) which is OK. In the following ACMD41 I set HSC bit (arg is 0x40000000), but in the STM32 SDIO controller the timeout flag is set. Did someone write a SDIO 4 bit driver for SDHC, please? ...