SDHC 4 bit driver?

Started by ded1...@iperbole.bo.it in comp.arch.embedded10 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? ...


linker script and compilers.....

Started by Carlo Caione in comp.arch.embedded10 years ago 4 replies

Hi, I was trying to setup an environment to compile programs for an STM32. One of the steps is to write a linker script. Now my question is:...

Hi, I was trying to setup an environment to compile programs for an STM32. One of the steps is to write a linker script. Now my question is: what does the linker script depend on? I think that it depends on the the compiler used. But, how can I write from scratch a new linker script? I suppose I have to know which are the sections present in my object file. But they are so much dependent on...


STM32 and USB examples

Started by blisca in comp.arch.embedded10 years ago 4 replies

Hi please ,can anyone suggest me a tutorial or examples of elementary use of STM32 USB interface? thanks Diego

Hi please ,can anyone suggest me a tutorial or examples of elementary use of STM32 USB interface? thanks Diego


Re: Migrating from PIC18 to ARM: which MCU to choose?

Started by John Devereux in comp.arch.embedded10 years ago 2 replies

linnix writes: > > IMHO, STM32 is still by far the leader in Cortex-M3 designs, well > > ahead of LM3 and LPC1000, > > I would not...

linnix writes: > > IMHO, STM32 is still by far the leader in Cortex-M3 designs, well > > ahead of LM3 and LPC1000, > > I would not discount the 120MHz LPC1769 M3. STM32 peaks out at 70MHz. There seems to be 120MHz ones in the pipeline, anyone heard any more information? -- John Devere


STM32 F-2 Family from STMicroelectronics is Cortex-M3 that runs as 120MHz

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

http://microcontroller.com/news/STM32_F-2.asp The STM32 F-2 runs out of Flash at 120MHz. Has two USB 2.0B OTG ports, Ethernet, 528 bytes OTP...

http://microcontroller.com/news/STM32_F-2.asp The STM32 F-2 runs out of Flash at 120MHz. Has two USB 2.0B OTG ports, Ethernet, 528 bytes OTP memory (who remembers what OTP means?) and plenty of peripherals. The STM32 F-2 is from STMicroelectronics http://microcontroller.com/STMicroelectronics.htm Article contains a block diagram and a family roadmap. Bill Giovino http://Microcontr...


Maxim DS18B20 to STM32 (I2C)

Started by Bubba in comp.arch.embedded9 years ago 5 replies

Greetings, I've been playing with STM32F103RE and DS18B20 1-Wire Digital Thermometer. Judging from what I have seen (examples regarding I2C...

Greetings, I've been playing with STM32F103RE and DS18B20 1-Wire Digital Thermometer. Judging from what I have seen (examples regarding I2C and *duino projects regarding I2C), it requires somewhat different approach due to the "reset" part in its initialization. Can someone provide code for connecting that device to STM32 uC's (I'm using STM C libs and uVision 4), as I am perplexed w...


Inexpensive JTAG adapter for STM32 / IAR ?

Started by Roberto Waltman in comp.arch.embedded9 years ago 9 replies

As subject line says - Can anybody recommend a (cheap) JTAG adapter that works well with IAR EWARM and ST Cortex M3 chips? Trying not to buy...

As subject line says - Can anybody recommend a (cheap) JTAG adapter that works well with IAR EWARM and ST Cortex M3 chips? Trying not to buy another Segger ... Thanks, -- Roberto Waltman [ Please reply to the group. Return address is invalid ]


STM32 multiple SDIO card

Started by fpoisson in comp.arch.embedded9 years ago

Hi, I'm trying to access to two SDIO card on the same bus with my STM32 but only one at the time is answering. I am doing the same things...

Hi, I'm trying to access to two SDIO card on the same bus with my STM32 but only one at the time is answering. I am doing the same things said on this thread without result: http://www.youtube.com/watch?v=3p-XqvMOTYA I am receiving a CMD_RSP_TIMEOUT the second time I send a ALL_SEND_CID meaning that the first sd card is now in idle mode. Is there any register of the sdio port I shoul...


STM32 PWM output accuracy issue.

Started by microe in comp.arch.embedded9 years ago 7 replies

Hello, I've got an STM32F103Z part and I'm trying to generate a PWM output between 10Hz and 20Hz from the timer 1 peripheral. Depending on...

Hello, I've got an STM32F103Z part and I'm trying to generate a PWM output between 10Hz and 20Hz from the timer 1 peripheral. Depending on how I set the timer 1 prescale value (timer 1 is on the 72Mhz high-speed bus), I get more or less accurate output results which can vary by up to 1Hz from the target frequency. The only thing I can think of is that the external oscillator (8Mhz) is off...


STMicroelectronics STM32 F4 is the Fastest Cortex M4 - See specs

Started by Bill Giovino in comp.arch.embedded8 years ago 1 reply

http://microcontroller.com/news/STM32_F4.asp Core runs at 168MHz, but can get zero wait states out of 30MHz Flash with a 128-bit Program...

http://microcontroller.com/news/STM32_F4.asp Core runs at 168MHz, but can get zero wait states out of 30MHz Flash with a 128-bit Program Memory interface. Includes detailed specs. Article shows a nice block diagram. Bill Giovino http://Microcontroller.com


Bandpass digital filter with band 3Hz...300Hz and Fs 1kHz

Started by baranov in comp.arch.embedded8 years ago 7 replies

Hello. I try to build 3Hz...300Hz bandpass FIR and see that it requires not less than 63 taps. As I have to use it on STM32 calculations might...

Hello. I try to build 3Hz...300Hz bandpass FIR and see that it requires not less than 63 taps. As I have to use it on STM32 calculations might take more time than I plan. Is it "a law of nature" and no trick would simplify filtering out 3Hz on 1kHz sampling frequency? Thanks Alex. --------------------------------------- Posted through http://www.EmbeddedRelated.com


STM32 driving TFT 7 inches wide

Started by johsey in comp.arch.embedded8 years ago

Hello, I would like to have advices about what I should be aware of when interfacing a 7 inches wide TFT display (resolution of 800x480) with...

Hello, I would like to have advices about what I should be aware of when interfacing a 7 inches wide TFT display (resolution of 800x480) with a STM32F205 MCU. Only static images will be displayed and at a slow changing rate. I think I will use the FSMC bus to connect both an external SRAM which will act as the image buffer and the TFT display. Have you got other ideas? Thank you, Joha...


USB ID-pin missing -.no host in the system?

Started by kturunen in comp.arch.embedded8 years ago 6 replies

I'm relatively new with embedded systems and electronics so I might be trying something above my skill level: I have a Nokia N95 cellphone and an...

I'm relatively new with embedded systems and electronics so I might be trying something above my skill level: I have a Nokia N95 cellphone and an ARM mini-STM32 eval board with mini-USB-socket. The problem seems to be that I can use only 4 wires (ID is floating on the board). What can I do to get my ARM-board and Nokia connected? Would a USB hub make either one of these devices a host? ...


Bluetooth advices (for medical device)

Started by johsey in comp.arch.embedded8 years ago

Hello, I'm planning to use Bluetooth in a medical device I'm developing. The device is already based on a MCU (STM32) and is powered by...

Hello, I'm planning to use Bluetooth in a medical device I'm developing. The device is already based on a MCU (STM32) and is powered by mains. The device will provide only the File Transfer profile sevice: it will act only as a server providing one or more files that a client can download (no modifications or upload on the server possible). I would like a bluetooth solution (single-chi...


SMT32F207 FSMC interfacing SJA1000, SRAM, Compact Flash

Started by christoph531 in comp.arch.embedded8 years ago

Hello, I would like to use the STM32F207 in order to interface up to 8 can channels by means of the SJA1000 can controller IC. In addition...

Hello, I would like to use the STM32F207 in order to interface up to 8 can channels by means of the SJA1000 can controller IC. In addition there is need for Compact Flash interface, plenty of external ram and flash memory. The Flexible Static Memory Controller (FSMC) peripheral seems that it could handle these requirements, but I'm not familiar with STM32 and so I have some questions. First ...


Can't profile functions with STM32 and SWD

Started by Mark Borgerson in comp.arch.embedded7 years ago

I'm working with an STM32F205, which I can program and debug with an ST-LINK V2 and the SWD port. I'm using IAR EWARM 6.40 and the...

I'm working with an STM32F205, which I can program and debug with an ST-LINK V2 and the SWD port. I'm using IAR EWARM 6.40 and the C-Spy debugger. Programming, run, stop, breakpoints, etc, all work fine. However, when I set up for SWO debugging, the SWO icon reports that it is set up properly, but I never get any profiling data in the window. The O-scope shows regular activity on the S...


EADOGM LCD interface with STM32

Started by cumin1091 in comp.arch.embedded7 years ago 5 replies

Hello All, I am undergraduate student. I want to interface LCD display EADOGM 16*2 with STM32 controller. I am using 8 bit interface. The...

Hello All, I am undergraduate student. I want to interface LCD display EADOGM 16*2 with STM32 controller. I am using 8 bit interface. The connection is as below RS-D7 RW-D8 E-D9 C0-C7 are connected to data lines of LCD. I could find some display driver and i have modified according to my requirement. When i run this application, I could not see anything Displayed. Can anyone pls sugges...


STM32 and CyaSSL - Hardware Crypto and RNG Support

Started by Anonymous in comp.arch.embedded7 years ago 1 reply

Hi, We would like to announce that the CyaSSL embedded SSL library now has support for hardware-based cryptography and random number generation...

Hi, We would like to announce that the CyaSSL embedded SSL library now has support for hardware-based cryptography and random number generation offered by the STM32F2. Supported cryptographic algorithms include AES (CBC, CTR), DES (ECB, CBC), 3DES, MD5, and SHA1. For details, please see the original blog post, here: http://yassl.com/yaSSL/Blog/Entries/2012/12/27_STM32_and_CyaSS


Mature TCP/IP Stack for STM32

Started by Klaus Kragelund in comp.arch.embedded6 years ago 8 replies

Hi We are working on a TCP/IP Gateway. Ideally we would like to use one of the free TCP/IP stacks that ST has made publicly available, but we...

Hi We are working on a TCP/IP Gateway. Ideally we would like to use one of the free TCP/IP stacks that ST has made publicly available, but we are also open to 3rd party stacks We do however no know the maturity of any of the stacks listed at the ST website: http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1031/LN1564/PF221027 (click the "Design Resources" tab) Or should we be lookin...


STM32 power consumption

Started by Paul Rubin in comp.arch.embedded6 years ago 8 replies

I'm interested in building a mini gadget that needs a fair amount of computing speed, and I'm thinking of using this Cortex M4 board, powered by...

I'm interested in building a mini gadget that needs a fair amount of computing speed, and I'm thinking of using this Cortex M4 board, powered by a small lipo cell: www.mouser.com/ProductDetail/mikroElektronika/MIKROE-1367 I notice in the data sheet that the maximum power drain is 800 mA at 3.3 volts, i.e. around 2.5 watts. That sounds awfully high--even a fancy smartphone with a multi-g...