Other articles


  1. STM32 USART at maximum speed (4.5Mbits/s)

    USART1 is on Peripheral clock 2 PCLK2 (high speed: 72MHz), while the other USART (2, 3, ...) are on Peripheral clock 1 PCLK1 (low speed: 36MHz).

    Only USART1 can run at the maximum speed of 4.5Mbits/s. Other USART are limited to 2.25Mbits/s.

    How to set custom baudrate …

    read more
  2. LC-Studio STM32F103V board UART

    So as to make the communication with the microcontroller possible during execution, I set up the serial line of my development board. The board has a STM32F103 in 100-pin flat package (TFQP100) connected to a MAX232 [1] transceiver.

    UART1:

    Pin67 PA08 UART1_CK
    Pin68 PA09 UART1_TX
    Pin69 PA10 UART1_RX
    Pin70 PA11 …
    read more
  3. Hello (FPGA) World over STM32!

    The following verilog code was implemented using Xilinx ISE toolsuite:

    `timescale 1ns / 1ps
    
    module simple_and(
    input a1,
    input a2,
    output a3
    );
    
    assign a3 = a1 & a2;
    
    endmodule
    

    At the end, the tool generate a bitstream: a binary file containing raw data ready to be uploaded to the FPGA over …

    read more
  4. Reading the Xilinx IDCODE over JTAG

    The JTAG port of the Spartan-6 FPGA was hand-soldered to the wire and connected to the STM32 microcontroller.

    The JTAG TAP state machine

    Now can we enter the FPGA using the microcontroller? [UG380] explains how to do so.

    JTAG ports have a funny bitstream-controlled state machine for filling variable-length instruction- …

    read more
  5. First step: prepare a nice welcoming desk

    A nice desk makes it easier to find everyday motivation. The STM32 microcontroller, the Xilinx Spartan-6, and their respective debuggers are waiting to work together (see on the left)! (^_^)

    Hardware information

    • the Xilinx Spartan-6 LX9 FPGA board.

    Really nice little board with 32-MByte SDRAM and 8-Mbyte SPI flash. The …

    read more

Page 1 / 1