Hi,
Look into the PAL driver (and demo), EXTI callbacks are handled there now.
Giovanni
Search found 14028 matches
- Sun May 22, 2022 1:14 pm
- Forum: STM32 Support
- Topic: Configuring EXTI
- Replies: 6
- Views: 1563
- Fri May 20, 2022 5:55 am
- Forum: General Support
- Topic: Mutithread proformence
- Replies: 2
- Views: 78
Re: Mutithread proformence
In that case is cooperative RR.
Giovanni
Giovanni
- Wed May 18, 2022 4:10 pm
- Forum: General Support
- Topic: Mutithread variable share Topic is solved
- Replies: 4
- Views: 95
Re: Mutithread variable share Topic is solved
I don't see enough code for an explanation. It is possible that thread is starving the others, there are no sleep functions called inside the loop.
Giovanni
Giovanni
- Wed May 18, 2022 5:30 am
- Forum: General Support
- Topic: Mutithread variable share Topic is solved
- Replies: 4
- Views: 95
Re: Mutithread variable share Topic is solved
Hi,
Make the variable "volatile" or the compiled will optimize it out.
Giovanni
Make the variable "volatile" or the compiled will optimize it out.
Giovanni
- Tue May 17, 2022 7:11 pm
- Forum: STM32 Support
- Topic: STM32G0xx
- Replies: 1
- Views: 102
Re: STM32G0xx
Hi,
G0 examples are in the "multi" projects, no standalone projects for newer platforms (going to remove gradually old ones too).
Giovanni
G0 examples are in the "multi" projects, no standalone projects for newer platforms (going to remove gradually old ones too).
Giovanni
- Tue May 17, 2022 8:40 am
- Forum: General Support
- Topic: Chibios Git
- Replies: 2
- Views: 72
Re: Chibios Git
Hi,
Do you mean this one?
https://osdn.net/projects/chibios/downl ... 1.11.1.7z/
It works for me.
Edit: I missed the point about "when trying to push to Git"....
Giovanni
Do you mean this one?
https://osdn.net/projects/chibios/downl ... 1.11.1.7z/
It works for me.
Edit: I missed the point about "when trying to push to Git"....
Giovanni
- Mon May 16, 2022 2:02 pm
- Forum: ChibiOS/HAL
- Topic: STM32G474 shell over USB demo
- Replies: 4
- Views: 239
Re: STM32G474 shell over USB demo
It is working here, probably ACM0 is the ST-Link in your case, try ACM1.
Giovanni
Giovanni
- Fri May 13, 2022 7:05 pm
- Forum: ChibiOS/HAL
- Topic: STM32G474 shell over USB demo
- Replies: 4
- Views: 239
Re: STM32G474 shell over USB demo
Hi, If it is a Linux PC nothing is required, it should just work. Is the USB connector attached correctly to the board? It is also possible that your terminal emulation program is sending some unsupported Ep0 command causing the driver to stall. If it is an USB3 try an USB2 port, just in case. Giova...
- Thu May 12, 2022 5:36 pm
- Forum: ChibiOS/HAL
- Topic: SPI Hal - Waiting to MISO line to be released
- Replies: 4
- Views: 86
Re: SPI Hal - Waiting to MISO line to be released
Waiting for a rising edge is asynchronous, it triggers a callback. See PAL callbacks.
Giovanni
Giovanni
- Thu May 12, 2022 3:02 pm
- Forum: ChibiOS/HAL
- Topic: SPI Hal - Waiting to MISO line to be released
- Replies: 4
- Views: 86
Re: SPI Hal - Waiting to MISO line to be released
Hi,
I think you could use GPIO (PAL driver) and poll for completion or to wait for a rising edge.
You could also keep doing spiReceive() until you get an 0xFF if the extra clocks are tolerated by the ADC.
Giovanni
I think you could use GPIO (PAL driver) and poll for completion or to wait for a rising edge.
You could also keep doing spiReceive() until you get an 0xFF if the extra clocks are tolerated by the ADC.
Giovanni