Go to advanced search

by rdpdo
Sat Jun 20, 2020 7:11 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 317
Views: 99178

Re: Circle - C++ bare metal environment (with USB)

@rst : Thanks you for information about memory avove 1GB :-) I've got another question (perhaps stupid one sorry)... Seems there is no class for accessing a camera module, so I'd like to play with it... My question is : For accessing CSI lines, may I used a special SPI interface ? Thanks ! EDIT : So...
by rdpdo
Tue Jan 21, 2020 3:41 pm
Forum: Troubleshooting
Topic: RPI4 OMV WiFi
Replies: 2
Views: 623

Re: RPI4 OMV WiFi

Same problem here !
by rdpdo
Fri Dec 13, 2019 5:57 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 317
Views: 99178

Re: Circle - C++ bare metal environment (with USB)

Hello All, I am using circle for few week now and it is really great ! Thanks you VERY MUCH for it ! And the examples are excellent too. I just got some interrupt disturb. (it IS the ONLY reason why I was not able to use linux) when initialize SD-CARD acces (but with linux even when I was not using ...
by rdpdo
Sun Nov 10, 2019 8:40 pm
Forum: Advanced users
Topic: Accurate timing for real time control
Replies: 40
Views: 69046

Re: Accurate timing for real time control

Thanks you very much !
by rdpdo
Sun Nov 10, 2019 9:59 am
Forum: Advanced users
Topic: Accurate timing for real time control
Replies: 40
Views: 69046

Re: Accurate timing for real time control

Hello again,

I would like to get time clock when Interrupts are disables. The c function clock_gettime do not work (because it uses interrupt ?)... Is there a way to count time elapse in us when interrupts are disables ?

I am thinking of enable just timer interrupt perhaps ?

Thanks for help.
by rdpdo
Wed Oct 30, 2019 1:14 pm
Forum: Advanced users
Topic: Accurate timing for real time control
Replies: 40
Views: 69046

Re: Accurate timing for real time control

Thanks you very much I done some test and got 200ns response time : void WaitForSPIData(int pin) { int i=0; interrupts(0); do {} while ((*gpin & (1 << pin)) != 0); *gpset = (1 << 3); do {i++;}while(i<10); *gpclr = (1 << 3); } https://image.noelshack.com/fichiers/2019/44/3/1572440354-scope-0.png ...
by rdpdo
Tue Oct 29, 2019 10:23 pm
Forum: Advanced users
Topic: Accurate timing for real time control
Replies: 40
Views: 69046

Re: Accurate timing for real time control

Thanks for your code, I am facing to latency problem on raspberry too... I am trying your code before go to bare-metal if it really needed for my needs. But with your code, if we want to detect an edge with interrupts disabled, we need to do a do {}while on a gpio. Have you test that we can have <50...

Go to advanced search