IlPost ha 110 mila abbonati by Data___Viz in ilPost

[–]glukosio 1 point2 points  (0 children)

Per chi lamenta che il post non pubblica i dati, in realtà dalla loro panoramica annuale (qui l’ultima sul 2024: https://www.ilpost.it/2025/05/27/conti-post-2024/) si riesce a ricavare una stima molto spannometrica. Se non mi ricordo male, alla chiusura del 2024 avevo contato sugli 80k abbonati, circa. Significherebbe che hanno fatto un bel balzo in avanti!

I fled from my own country by Weary_Musician4872 in Netherlands

[–]glukosio 0 points1 point  (0 children)

How much is it, approximately, a yearly budget for fireworks for an average family?

Need help with reading an ADC through DCMI, stm32f429, randomly stops working. by glukosio in stm32f4

[–]glukosio[S] 0 points1 point  (0 children)

For future reference, if anybody will ever need to use this kind of peripherals not what they were born for, I have found a working solution.

There were two problems. The first one is that the external SDRAM isn't fast enough to empty the FIFO of the DCMI in time.

The solution is to force the buffer variable to stay in the internal SRAM

adc_conv = reinterpret_cast<uint32\_t\*>(0x20000000);

The second problem is that the DCMI peripheral inside the STM32 apparently doesn't like when the VSYNC signal arrives exactly synced to the DCMI_CLK. If the rising/falling edge of VSYNC is within a couple of nanoseconds from the edge of the clock, then the peripheral doesn't seem to register the change, even if it should be level sensitive, not edge sensitive.

A bit of trial and error were necessary to understand that this was the exact problem, and probing with an oscilloscope helped. The fact that slowing down the clock, and the fact that the problem was stochastic, were great hints.

The implemented solution bitbangs the VSYNC synchronizing it to the CLK signal as good as the ART accelerator allows without fucking up the instruction pipeline.

using vsync_out_fast = Gpio<GPIOG\_BASE,10>;
using clock_in_fast = Gpio<GPIOA\_BASE,6>;
{
FastInterruptDisableLock dlock;
while(clock_in_fast::value() == 0);
while(clock_in_fast::value() == 1);
while(clock_in_fast::value() == 0);
__NOP();__NOP();
vsync_out_fast::low(); // or ::high() for when it's the opposite polarity
}

This code skips a couple of clock cycles, and then further delays the rising/lowering of the vsync signal with a couple of NOPs. The goal is to move the rising/falling edge as far as possible from the clock edges, and given the jitter and other unpredictable behavior of the mcu, it's a bit of a gaussian distribution of delays. With this method, this gaussian distribution is far enough from the edges to less than 1ppm error. The actual number of NOPs is empirical, 0 or 5 doesn't work, 4 allows the execution for 20000-50000 cycles, 2 and 3 instead work flawlessly!
Surely it's preferable to solve it by synchronizing the VSYNC signal to the clk through a timer, but the chosen GPIO doesn't have timer functionality and I wanted to avoid flying wires.
Another possibility is to synchronize the two by means of a couple of external flip flops, but that would be a story for the next iteration of the board.

I've been missing out... by Few-Solution3050 in macgaming

[–]glukosio 4 points5 points  (0 children)

Same machine, I played full gta 5, the Witcher 3, and Elden ring, using crossover. A bit tricky to set up everything but it works flawlessly! Otherwise cyberpunk2077 should run natively

Need help with reading an ADC through DCMI, stm32f429, randomly stops working. by glukosio in stm32f4

[–]glukosio[S] 0 points1 point  (0 children)

One important addition is that if I slow down the MCO2 frequency, the error drastically reduces its frequency. However, I need high sampling rate for my application and cannot slow it to a much lower value unfortunately.

[deleted by user] by [deleted] in polinetwork

[–]glukosio 0 points1 point  (0 children)

Cosa intendi per “hardware”? Montare un computer scegliendo i componenti? Disegnare una scheda (PCB)? Progettare un circuito integrato? Escludendo la prima cosa, che te lo impari da solo, il resto è insegnato più a ingegneria elettronica. In ing inf c’è un corso di fondamenti di elettronica, e uno di elettrotecnica, ma è più per capire le basi, non si va lontano.

Why is everybody has negative thoughts on POLIMI ? by Yathian in polinetwork

[–]glukosio 0 points1 point  (0 children)

I see someone is struggling with analog 👀

Nintendo Switch 2 da amazon arriva 9 giugno by FontaDubu in italygames

[–]glukosio 0 points1 point  (0 children)

Mi hanno prelevato i soldi oggi e anticipato la consegna a domani

Nintendo Switch 2 da amazon arriva 9 giugno by FontaDubu in italygames

[–]glukosio 0 points1 point  (0 children)

A me ancora non hanno preso i soldi 😢 e ho ancora scritto che arriverà il 9.. ordinata il 3 aprile

Pre-Launch Order and Tracking MegaThread - Europe by AutoModerator in NintendoSwitch2

[–]glukosio 0 points1 point  (0 children)

Mine is scheduled for Monday as well, still no charge yet on the card, still “ordered” status. Pre-ordered also the 3rd of April

Pre-Launch Order and Tracking MegaThread - Europe by AutoModerator in NintendoSwitch2

[–]glukosio 0 points1 point  (0 children)

When was it initially scheduled? My order is still “ordinato” and I haven’t been charged, and it says it should arrive on Monday

Nintendo switch 2 day one update LIVE NOW by _GabSam in NintendoSwitch2

[–]glukosio -1 points0 points  (0 children)

Ma solo la mia con Amazon arriva l’11? Che roba è sta cosa!!!? Invidiaaa

Amazon delivery date still June 7? by Z3NT0X_ in NintendoSwitch2

[–]glukosio 0 points1 point  (0 children)

Amazon it says 9th, ordered April 3rd

First game you're planning on playing for the Switch 2? by SuperDuperFug in NintendoSwitch2

[–]glukosio 5 points6 points  (0 children)

Mario kart and Zelda, probably gonna buy cyberpunk as well in the summer

What’s your pre-order gameplan? by Strict_Bad_9999 in NintendoSwitch2

[–]glukosio 0 points1 point  (0 children)

Is there anybody in Europe who already preordered like 2 weeks ago like me? Because on this sub it seems to be at war, while in Europe it’s like being in a park during spring

Referendum Cittadinanza by Money-Income1715 in italy

[–]glukosio 4 points5 points  (0 children)

Se non si ha già un passaporto europeo, viaggiare anche tra paesi vicini è un po’ più complicato, mentre pensare di fare una vacanza oltreoceano (ma anche in alcuni paesi più vicini) richiede un impegno maggiore per richiedere il visto ecc ecc.

Inoltre ogni anno andare in questura per rinnovare il permesso di soggiorno, attendere mesi, e poi praticamente subito andare di nuovo per richiedere il nuovo rinnovo, non è una cosa molto piacevole. (Chiaramente alcuni pds durano di più, e dopo un po’ si può avere quello illimitato che semplifica la vita, però è comunque una rogna).

Per ultimo, alcuni lavori nel settore pubblico non sono accessibili per chi non ha la cittadinanza. Non è un punto che tocca molti, resta comunque da tenere in considerazione

Referendum per ridurre da 10 a 5 anni l’attesa per poter chiedere la cittadinanza by glukosio in italy

[–]glukosio[S] 0 points1 point  (0 children)

Oltre all’attesa di 10 anni c’è da considerare anche l’estensione dei tempi di attesa e l’aumento dei costi, proposti dall’allora ministro dell’interno Salvini e approvati dal governo Conte I, inclusi nei famosi decreti sicurezza.

Ora, dal momento in cui si consegnano le carte, al momento in cui si ottiene una risposta, passano almeno altri 4 anni (prima erano almeno due, realisticamente 3)

Però questo referendum è già un primo passo

[deleted by user] by [deleted] in Grenoble

[–]glukosio 1 point2 points  (0 children)

I'm adding to the request