Search found 139 matches

by Alan_37
Mon May 20, 2024 10:19 am
Forum: General
Topic: PIC12F509 Compile Error
Replies: 3
Views: 21

Re: PIC12F509 Compile Error

Hi , I will be using Pic12F683 for this but until they arrive I wanted to experiment with the 509 since I have a couple in stock . The Pic12F509 has 1.5Kb of memory it should be more then enough for what I want to accomplish the error is present even if I place just an 1 output in the code . Is mayb...
by Alan_37
Mon May 20, 2024 12:18 am
Forum: General
Topic: PIC12F509 Compile Error
Replies: 3
Views: 21

PIC12F509 Compile Error

Hello

Trying to Compile a simple flowchart it compiles to C ok but Not to HEX.
Maybe doing something wrong cos long time not using Pic MCU's

Here I Include Fcfx and Error message files

Thanks
by Alan_37
Wed May 01, 2024 9:21 pm
Forum: General
Topic: STM32 Increase Uart RX buffer size
Replies: 3
Views: 342

Re: STM32 Increase Uart RX buffer size

Found it ,

Was not the RX Buffer , I was trying to get the circular buffer size into a byte variable
which 255 is the max .

Jeez, that was kinda stupid :lol:

Thanks again

Reagrds
by Alan_37
Wed May 01, 2024 8:53 pm
Forum: General
Topic: STM32 Increase Uart RX buffer size
Replies: 3
Views: 342

Re: STM32 Increase Uart RX buffer size

Hi chipfryer27, Thanks for your reply I am using a circular buffer, have set number of bytes to 260 have also tested the buffer it can hold 260 bytes so buffer is not the issue . I am still not 100% sure it is the RX buffer :idea: maybe I try Uart in software mode that should eliminate the hardware ...
by Alan_37
Wed May 01, 2024 8:17 pm
Forum: General
Topic: STM32 Increase Uart RX buffer size
Replies: 3
Views: 342

STM32 Increase Uart RX buffer size

Hello I am trying to send a 256Byte serial data to write 1 page of W25 flash but is seems that the max number of bytes I can receive is 255, I think is the Uart RX buffer Size that is limiting this , is there a way to increase the RX buffer size ? Tried the following but dose not work HAL_UART_DeIni...
by Alan_37
Tue Apr 30, 2024 9:55 pm
Forum: General
Topic: W25 Flash ( STM32F411 )
Replies: 7
Views: 1722

Re: W25 Flash ( STM32F411 )

Hello here is another update I was able to make , Write Data Bytes to work I have to admit it was from my side , I was putting write control =1 before entering the loop it needed to be in the loop and executed every time before a byte is written. That is why was not working :? Can move this to gener...
by Alan_37
Tue Apr 30, 2024 9:44 pm
Forum: Bug Reports
Topic: Advanced String Function ( Component )
Replies: 6
Views: 812

Re: Advanced String Function ( Component )

Hi medelec35

Thanks for your prompt reply
I have found a way around this but good to know is beings looked into.

Thanks Again

Regards
by Alan_37
Tue Apr 30, 2024 8:44 pm
Forum: Bug Reports
Topic: Advanced String Function ( Component )
Replies: 6
Views: 812

Re: Advanced String Function ( Component )

Hi medelec35 ,

Can not share my work but is very simple to reproduce the problem.

have attached the a sample .
by Alan_37
Tue Apr 30, 2024 6:31 am
Forum: General
Topic: W25 Flash ( STM32F411 )
Replies: 7
Views: 1722

Re: W25 Flash ( STM32F411 )

Update :) I have replaced the W25 flash to 128Mb, shortened the wires as possible and added a 0.1uf decupling capacitor . Now I see some improvement, Write Data Array works properly if I start writing from address 1 Address 0 remains 00 for some reason can not write to it . Also this works only in S...
by Alan_37
Mon Apr 29, 2024 5:29 pm
Forum: General
Topic: W25 Flash ( STM32F411 )
Replies: 7
Views: 1722

Re: W25 Flash ( STM32F411 )

Hi so here are the results

I have set the prescaler to 16 , 32 and 64 result still the same
I also tried to lower the speed from the RCC register but still no joy .

Delays seems to be perfect I made a 50ms Blinking on C13
photo_2024-04-29_18-22-03.jpg
photo_2024-04-29_18-22-03.jpg (65.72 KiB) Viewed 1614 times