Search found 11226 matches

by Giovanni
Fri Oct 19, 2018 8:59 pm
Forum: ChibiOS/HAL
Topic: Access to I2C from ISR handler in HAL without RTOS
Replies: 1
Views: 42

Re: Access to I2C from ISR handler in HAL without RTOS

Hi, The I2C driver has a synchronous API, you cannot use any synchronous function from ISR context, you cannot suspend or wait in an ISR. You need to use I2C from application context, you may trigger OSAL events in the ISR and listed those in you application, in response of events you can perform I2...
by Giovanni
Thu Oct 18, 2018 7:45 pm
Forum: Bug Reports
Topic: Confusing document about wa size when creating thread
Replies: 1
Views: 23

Re: Confusing document about wa size when creating thread

Hi, Both chThdCreateStatic() and chThdCreateFromHeap() take as parameter the size of the working area, not the stack size, I believe this is documented. THD_WORKING_AREA creates a working area starting from a stack size, it is meant to have overhead. This macros converts from stack size to WA size: ...
by Giovanni
Thu Oct 18, 2018 7:30 pm
Forum: Development and Feedback
Topic: Additional Simulator Posix HAL LLD drivers
Replies: 3
Views: 82

Re: Additional Simulator Posix HAL LLD drivers

Hi,

It looks interesting, I cannot give it a try right now, too many things ongoing, I would appreciate some feedback about it.

It would help to know how to try it.

Giovanni
by Giovanni
Thu Oct 18, 2018 7:26 pm
Forum: Bug Reports
Topic: STM32L496 USB error
Replies: 13
Views: 222

Re: STM32L496 USB error

I don't know, I need to try first.

My idea is that the OTG on L4 is misbehaving for some reason, interrupts are out of logic order, maybe this is another instance of the problem fixed earlier.

Giovanni
by Giovanni
Wed Oct 17, 2018 3:51 pm
Forum: STM32 Support
Topic: stm32f042 + tickless + usb
Replies: 2
Views: 42

Re: stm32f042 + tickless + usb

Hi,

Try increasing time delta (start at 10 then find a safe lower value) and see if it makes the problem disappear (likely). Reducing system tick frequency would also fix the problem.

Giovanni
by Giovanni
Wed Oct 17, 2018 12:39 pm
Forum: Development and Feedback
Topic: [INFO] News on the STM32 front
Replies: 0
Views: 43

[INFO] News on the STM32 front

The STM32L5, first one with Cortex-M33

https://www.st.com/content/st_com/en/pr ... tId=SS2025

Giovanni
by Giovanni
Wed Oct 17, 2018 10:01 am
Forum: Bug Reports
Topic: palWriteLine()
Replies: 2
Views: 52

Re: palWriteLine()

Maybe the typecast should be done on the expression result, not just one operand.

What is the type of "bits" you are passing to the macro?

Giovanni
by Giovanni
Sun Oct 14, 2018 10:39 am
Forum: STM32 Support
Topic: STM32F207xE demos problem Topic is solved
Replies: 4
Views: 134

Re: STM32F207xE demos problem Topic is solved

I would verify board files as first thing.

Giovanni
by Giovanni
Sat Oct 13, 2018 9:51 pm
Forum: STM32 Support
Topic: STM32F207xE demos problem Topic is solved
Replies: 4
Views: 134

Re: STM32F207xE demos problem Topic is solved

Hi,

Hard to tell what regressed, I have no board to test. What board are you using? are board files compatible? is the program even running?

Giovanni
by Giovanni
Sat Oct 13, 2018 3:53 pm
Forum: Bug Reports
Topic: L071/072 support Topic is solved
Replies: 2
Views: 88

Re: L071/072 support Topic is solved

Merged, I also added L072 even if it is equal.

Giovanni

Go to advanced search