Hi everyone, im using stm32f746zgt with lan8742a phy. i manage settings on cubemx. when i set speed and duplex with manually like a 100mbps full duplex my system works well. but when i change it to auto negotiation it returns with timeout. It crashes...
Posted on July 05, 2018 at 08:10Hi everyone, in my system (freertos based) i need some low pulse before sending uart datas. So i must change tx pin to gpio and send low pulse along appx. 100uS and after that i must rechange it to uart fastly. How ca...
Posted on July 02, 2018 at 13:38Hi, im using stm32f7+ freertos+lwip (raw api). My system handles web server and udp data communication. My frame length is 572 bytes and my FPS is 40 (22880 bytes/sec) at start. When i increase the package number to 8...
Posted on June 28, 2018 at 15:04 Hello, im generating default ethernet codes from CubeMX. im using freertos+lwip and i set static ip. All other lwip settings are default. My clock config: My default lwIP settings: My default FreeRtos sett...
Posted on June 27, 2018 at 09:30
Hi everyone, im trying to send datas to 8 uarts+usarts on stm32f7 mcu. I'm getting datas from ethernet wtih netconn connection. I'm using FreeRTOS and lwIP stack. I have a task that calls netconn_recv(conn, &buf);...
Posted on July 05, 2018 at 15:36
i have done with below code. ı had to add USART deinit before gpio init but i dont know the reason exactly. And this method is not fast and efficent in my opinion. Still need a best way
void send(..)
{
HAL_UAR...
Posted on July 05, 2018 at 11:05
i simplified codes and filled out all fields (just speed neccessary). and it still hangs at low states
void MX_GPIO_uart1tx_Init(void)
{
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.Pin = GPIO_PIN_9;
GP...
Posted on July 05, 2018 at 09:57
I just tried something like that but uart tx pin always stays at reset state. ıt doesnt send any datas.
#define tim2_wait_usec(X) \
TIM2->PSC = 71; \
TIM2->ARR = X; \
TIM2->CNT = 0; \
TIM2->CR1 |= TIM_CR1_C...
Posted on July 04, 2018 at 12:53Thanks again AvaTar for all your replies and helps. I solved it, the problem is ETH_RXBUFNB at stm32f7xx_hal_config.h. Default value is 4U when i icrease it to 16U the phy to dma communication speed increased. But th...
Posted on July 03, 2018 at 16:25Thank you for your replies AvaTar. But i think cortex m7 mcu that has ethernet with dedicated dma can handle 1.4Mbps udp communication easily. As i say i have a end device for same purpose which is made with cortex M3...