cancel
Showing results for 
Search instead for 
Did you mean: 

What is the fairly common way to serialize

Carter Lee
Associate III
Posted on September 08, 2017 at 06:59

Hi,

currently I'm looking for serializing driver in STM32F4xx_DSP_StdPeriph_Lib_V1.8.0 or fairly common way to send out serial data by using GPIO.

For detail,

I've got 11 registers which have 32bit hex value such as the below.

uint32_t R0 = 0x48D38000;

uint32_t R1 = 0x04BB0001;

uint32_t R2 = 0x1074816A;

uint32_t R3 = 0x0023C7FB;

uint32_t R4 = 0x57342938;

uint32_t R5 = ..

uint32_t R6 = ..

uint32_t R7 = ..

uint32_t R8 = 0x80001625;

uint32_t R9 = 0x7FC8011D;

uint32_t R10 = 0x806817C4;

and write timing diagram is the below.

0690X0000060467QAA.jpg

Would you please let me know Is there any serialized driver in STM32F4xx_DSP_StdPeriph_Lib_V1.8.0? if not, what is the common way to send out in serial?
1 REPLY 1
Posted on September 08, 2017 at 08:04

Looks bit like PCM mode of I2S, but there WS appears to be deasserted upon the clock leading edge which wouldn't confirm to t6 in your diagram.

0690X0000060870QAA.png

You may then be limited to any means of serial output (SPI, synchronous mode USART, ''manual'' bit-banging) and ''manual'' handling of the LE signal. It's unlikely you'll find this ready made.

JW