DMA to 8-bit shift register for GPIO pourposes

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: DMA to 8-bit shift register for GPIO pourposes

Postby Vader_Mester » Tue Oct 16, 2018 7:52 pm

I did not do any software tests yet.
The FT81x can operate with 30MHz SPI clock, well enough for almost everything.

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

Who is online

Users browsing this forum: No registered users and 128 guests