master.The demo setupI had a DS1820 temperature sensor in my junk box, so this is the device I used. The DS1820 datasheet on the Maxim website contains all the timing and handshaking info you need to get the device talking to your micro.For the ' micro ', I chose to use an Stmicros stm32f4 Discovery board. Yes, it is overkill, but it's cheap, kind of hobbyist friendly, and I had one laying around.I chose t
VGA Output from STM32F4 Discovery BoardI Love the web!There is so many cool projects off there, and some, with a tweak or both,Get me where I want to go quickly, saving a ton of time and effort.Case in Point:the artektit page on VGA output using a 36-pin STM32.The Artekit gang developed a minimalist VGA implementation using one of the boards they sell,With a-a-MHz stm32f103 device on-board.I say "minimalist" because it uses just the
A long time ago, He transplanted the dot doctor program from stm32f103 to STM32F4-Discovery (stm32f407), battery, gyroscope and PWM motor control programs have been tested, running for a period of time, normal. The following pictures are all connected by dubang, gyroscope, serial port, and other peripherals. In addition, there is also the nrf24l01, but the program of the nrf24l01 can read and write registers, and no attempt has been made to communicat
My STM32F4 discovery has an accelerometer lis302dl on top. In the demonstration project, ST's engineers used the sensor to do a very admirable thing: to solve the development Board posture. When the development Board is tilted, the top led is lit and the other LEDs are not lit. At the same time, the Development Board w
, meaning read/write operations to the preload event require an update event.Value |=0x8; //[2] Set the OC1FE bit to 0, the output compare fast enable is disabled//[1:0] Set the cc1s bits to 0, the channel is configured as an output. //* Set the TIMX_CCMR1 Register: * TIM1->CCMR1 = value; //* * * TIM1 capture/compare enable Register:ccerValue =0; //[15:4]-Don ' t care://[3] Set CC1NP bit to zero for active high. //[2] Set cc1ne bit to 0, to de-activate the OC1N signal//value |= 0x4; //[1] Set
STM32F4 Serial transceiver Using DMA is still very convenient. However, configuring the DMA requires the configuration of the data length, which can be used to pre-estimate the length of the Send to configure the DMA send data length, but for the reception is not a good solution, because if the use of DMA receive interrupt is to configure the length of the data to be configured to 0 to start the outage. However, it is not possible to determine the len
in order to better coordinate the work between io , it is necessary to give the IO Port A different function at the appropriate time, an io The mouth can take on different tasks at different times, which is the multiplexing function of IO .Second, the principle of re-use:Each IO port is followed by a selector that, after the configuration of the corresponding registers (gpiox_afrh and gpiox_afrl), can be used to perform different functions, and this register is gpiox_afrh and gpiox_afrl.Three,
/** Trigger Select mapping for slave timer from master timer. This was * unfortunately not very straightforward; There ' s no tidy-on-the-algorithmically. To avoid burning memory for a lookup table, use macros to * compute the offset. This also have the benefit that compilation would fail if * An unsupported master/slave pairing is used. * * Slave Master * 1 2 3 4 (stm32f100 only) * 2 9 10 3 4 * 3 9 2 11 4 * 4 2 3 9 * 9 2 3 (stm32l15x only) *--------------------* ts = 0 1 2 3*/#defineStm32_
, this pulse is too narrow to meet the width of my application requirements, only the use of Gpio.The receive event has not been tested, but the pin mode in the code can be set to:#define Gpio_mode_evt_rising ((uint32_t) 0x10120000)/*!#define Gpio_mode_evt_falling ((uint32_t) 0x10220000)/*!#define Gpio_mode_evt_rising_falling ((uint32_t) 0x10320000)/*!The receiver does not treat the event as an interrupt, but rather as a wake-up signal. Reference pm0214:stm32f3 and
Overview
Hardware on the use of stm32f4+mpu9150 implementation of the neural network recognition gesture, but not with the IMU geomagnetic data, only with the three-axis accelerometer and three-axis gyroscope data, the board is the main reference to the Italian official Development Board schematic diagram (Life painting the first
St-link in the Win8 on the support is not very good, it is said that because St-link the hardware does not have a digital signature, Win8 mandatory hardware must have a digital signature. Although the usual still use of pirated Jlink a little more, but the hands of this piece of Discovery Board only onboard St-link . Download ZadigDownload First Zadig , this is an open-source win Drive that allows Win8 Identify the St-link hardware. Download Openocd
I use the Serial wizard to send the data no problem, but the receiving data did not respond.Serial port to accept the time must be interrupted, you send only by a single flag bit can be judged, but the acceptance of time, you are always stay in while inside, we judge whether to accept the completion, by detecting whether to receive 0x0d, 0x0a continuous to detect whether the end. When this end sequence is detected, the highest bit of the usart_rx_sta is placed to mark the data that has been sear
Stm32f4:generating parallel signals with the FSMCThe goal: the memory controller can be used to generate a "generic" 16-bit parallel data stream with clock. Address generation is disregarded, as well as the other control signals dedicated to memory chips.It must is noted that the stm32f40x and stm32f41x has the FSMC (static memories), while thestm32f42 x and stm32f43x have the FMC (static and dynamic Memories). The differences between the concern the
Bug in STM32F4 Series MCU, window watchdog WWDG.
1. If it is possible to pre-feed the dog interrupt, then the following two points must be met
(1) Before turning on the WWDG interrupt, the EWI flag bit in the SR register must be zeroed out, otherwise the watchdog will constantly reset
(2) Add a small delay to the WWDG_IRQ, otherwise the watchdog will be constantly reset
2. If there are other interrupts in the system, such as keystrokes, set a vari
When used to the use of bare metal and began to feel that there are a lot of things not perfect, especially when encountering one of the delay function in the run when the special embarrassment, a lot of things can not be done, only wait until the completion of this thing delay to continue I use the board is STM32F4VET6 board ...
There are many ways to implement "at the same time" to run multiple tasks (the
Often have DIY installed friends will ask, buy motherboard what board type motherboard good Ah, is the choice of the motherboard or small board? For such a problem, sometimes very difficult to answer, because the installed time, the choice of motherboard board type is not only related to the chassis, but also with their own needs. Today, the computer Pepsi Net sm
Introduction to user research methods--Emotion Board (Mood Board)
By Use research Group
This is a handout to the workshop of the 2009 annual Meeting of the UCD Book Club. At that time, I was invited by UCD to hold a WORKSHOP on user research topics at the annual meeting. Just that time the company has a user research project is trying to use the emotional board (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.