Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards/arm/stm32h7/stm32h745i-disco: supported external SDRAM #10198

Merged
merged 1 commit into from Aug 12, 2023

Conversation

a-lunev
Copy link
Contributor

@a-lunev a-lunev commented Aug 11, 2023

Summary

Supported external SDRAM (MT48LC4M32B2B5-6AIT:L) on STM32H745I-DISCO dev board.

Though MT48LC4M32B2B5-6AIT:L SDRAM itself provides 32-bit data bus, STM32H745I-DISCO board routes only DQ[15:0] bits. Thus only half of the memory can be accessed: the accessible memory configuration is only 1 Meg x 16 x 4 banks instead of 1 Meg x 32 x 4 banks. Thus the accessible memory size is 8 MBytes.

Impact

STM32H745I-DISCO dev board

Testing

NuttShell (NSH) NuttX-10.1.0-RC1                                                                                                                                                                                                            
nsh> ramtest -a 0xD0000000 -s 8388608                                                                                                                                                                                                    
RAMTest: Marching ones: d0000000 8388608                                                                                                                                                                                                    
RAMTest: Marching zeroes: d0000000 8388608                                                                                                                                                                                                  
RAMTest: Pattern test: d0000000 8388608 55555555 aaaaaaaa                                                                                                                                                                                   
RAMTest: Pattern test: d0000000 8388608 66666666 99999999                                                                                                                                                                                   
RAMTest: Pattern test: d0000000 8388608 33333333 cccccccc                                                                                                                                                                                   
RAMTest: Address-in-address test: d0000000 8388608                                                                                                                                                                                          
nsh>

@acassis
Copy link
Contributor

acassis commented Aug 11, 2023

@a-lunev please include the Summary in the commit log message. Maybe even the Testing example could be included there!

@a-lunev
Copy link
Contributor Author

a-lunev commented Aug 11, 2023

@a-lunev please include the Summary in the commit log message. Maybe even the Testing example could be included there!

Done.

Supported external SDRAM (MT48LC4M32B2B5-6AIT:L) on STM32H745I-DISCO dev board.
Though MT48LC4M32B2B5-6AIT:L SDRAM itself provides 32-bit data bus, STM32H745I-DISCO board
routes only DQ[15:0] bits. Thus only half of the memory can be accessed: the accessible memory
configuration is only 1 Meg x 16 x 4 banks instead of 1 Meg x 32 x 4 banks.
Thus the accessible memory size is 8 MBytes.

Testing:
nsh> ramtest -a 0xD0000000 -s 8388608
RAMTest: Marching ones: d0000000 8388608
RAMTest: Marching zeroes: d0000000 8388608
RAMTest: Pattern test: d0000000 8388608 55555555 aaaaaaaa
RAMTest: Pattern test: d0000000 8388608 66666666 99999999
RAMTest: Pattern test: d0000000 8388608 33333333 cccccccc
RAMTest: Address-in-address test: d0000000 8388608
nsh>
@xiaoxiang781216 xiaoxiang781216 merged commit 73867b9 into apache:master Aug 12, 2023
26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to Board in Release Notes - 12.3.0 Sep 27, 2023
@jerpelea jerpelea moved this from Board to done in Release Notes - 12.3.0 Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants